

/* Container d'upload moderne */
.upload-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Zone de status d'envoi */
.upload-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

/* Animation fusée */
.rocket-animation {
    position: relative;
    margin-bottom: 30px;
    height: 80px;
}

.rocket {
    font-size: 50px;
    display: inline-block;
    animation: rocketLaunch 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.rocket-trail {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,165,0,0.6) 50%, 
        transparent 100%);
    animation: trailPulse 0.5s ease-in-out infinite;
}

@keyframes rocketLaunch {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-20px) rotate(-35deg); }
}

@keyframes trailPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 20px; }
}

/* Barre de progression moderne */
.progress-modern {
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    height: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, 
        #4facfe 0%, 
        #00f2fe 100%);
    border-radius: 50px;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.6);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.5) 50%, 
        transparent 100%);
    animation: progressShine 1.5s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Infos d'envoi */
.upload-info {
    color: white;
}

.upload-percentage {
    font-size: 48px;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: numberPulse 0.5s ease-in-out;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.upload-details {
    font-size: 16px;
    margin: 15px 0;
    opacity: 0.9;
}

.upload-details strong {
    font-weight: bold;
    color: #ffd700;
}

.upload-warning {
    display: none; /* Caché par défaut, affiché par JS */
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: 0 0 20px rgba(255,255,255,0.3); }
}

/* Particules animées */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 85%;
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0% {
        bottom: 0;
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    80% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateY(-20px) scale(0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .upload-status {
        padding: 30px 20px;
    }
    
    .upload-percentage {
        font-size: 36px;
    }
    
    .rocket {
        font-size: 40px;
    }
}
