:root {
    --primary: #6d28d9;
    --primary-dark: #4c1d95;
    --secondary: #a78bfa;
    --dark: #0f172a;
    --light: #f8fafc;
	--text-success: #10b981; /* Couleur verte */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
}

.gradient-text {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
}

/* Animations et transitions */
.transition {
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Focus states pour l'accessibilité */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #a78bfa;
    outline-offset: 2px;
}

/* Styles pour les éléments de formulaire */
.form-input {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    color: white;
    padding: 0.5rem 1rem;
    width: 100%;
}

.form-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Styles pour les boutons */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(167, 139, 250, 0.1);
}

/* Styles pour les cartes */
.card {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Menu mobile */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu.active {
        display: block;
    }
}

/* Responsive design */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Animations CSS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Billing toggle styles */
.billing-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
    border-radius: 24px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .billing-slider {
    background-color: var(--primary);
}

input:checked + .billing-slider:before {
    transform: translateX(24px);
}


/* Animations supplémentaires pour la page about */
.hero-section {
    animation: fadeInHero 1.5s ease-out;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== DASHBOARD AGENT IA ===== */

        :root {
            --primary: #6d28d9;
            --primary-dark: #4c1d95;
            --secondary: #a78bfa;
            --dark: #0f172a;
            --light: #f8fafc;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--dark);
            color: var(--light);
        }

        /* Dashboard specifique */
        .dashboard-main {
            min-height: 100vh;
            padding: 6rem 0 2rem 0; /* Ajout de 6rem en haut pour compenser le header fixe */
        }

        .dashboard-title {
            background: linear-gradient(90deg, #8b5cf6, #ec4899);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
        }

        /* Agents grid */
        .agents {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .agent-card {
            background: #1f2937;
            border: 1px solid #374151;
            border-radius: 0.75rem;
            padding: 2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .agent-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .agent-card:hover::before {
            opacity: 1;
        }

        .agent-card:hover {
            border-color: #a78bfa;
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
        }

        .agent-card > * {
            position: relative;
            z-index: 10;
        }

        /* Avatar avec status - IMPORTANT: garder la structure existante */
        .agent-avatar {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
        }

        .agent-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #374151;
            transition: border-color 0.3s ease;
        }

        .agent-card:hover .agent-avatar img {
            border-color: #a78bfa;
        }

        .agent-status {
            position: absolute;
            bottom: 4px;
            right: 4px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #10b981;
            border: 3px solid #1f2937;
            z-index: 20;
        }

        .agent-status.online {
            background: #10b981;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            }
            70% {
                box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
            }
        }

        .agent-info h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #f8fafc;
            margin-bottom: 0.5rem;
        }

        .agent-info p {
            color: #a78bfa;
            font-weight: 500;
        }

        /* Chat container */
        .chat-container {
            background: #1f2937;
            border: 1px solid #374151;
            border-radius: 0.75rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            width: 90vw;
            max-width: 1000px;
            margin: 0 auto;
            animation: slideUp 0.3s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chat-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #374151;
            background: #1f2937;
        }

        .agent-details {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .agent-avatar-small {
            position: relative;
            width: 54px;
            height: 54px;
        }

        .agent-avatar-small img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid #374151;
        }

        .agent-avatar-small .agent-status {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            border: 2px solid #1f2937;
        }

        .agent-details h3 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 600;
            color: #f8fafc;
        }

        .agent-subtitle {
            font-size: 0.8rem;
            color: #10b981;
            margin-top: 2px;
        }

        .close-chat-btn {
            background: none;
            border: none;
            color: #9ca3af;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
        }

        .close-chat-btn:hover {
            color: #f87171;
            background: rgba(248, 113, 113, 0.1);
        }

        /* Chat content */
        .chat-content {
            display: flex;
            flex-direction: column;
            height: 60vh;
        }

        .messages-container {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
            background: #0f172a;
        }

        .message {
            display: flex;
            margin-bottom: 1.5rem;
            animation: messageSlideIn 0.3s ease-out;
        }

        @keyframes messageSlideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message.user {
            justify-content: flex-end;
        }

        .message.bot {
            justify-content: flex-start;
            align-items: flex-start;
            gap: 12px;
        }

        .message-content {
            max-width: 70%;
            padding: 1rem 1.25rem;
            border-radius: 0.75rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .message.user .message-content {
            background: linear-gradient(135deg, #6d28d9 0%, #a78bfa 100%);
            color: white;
            border-bottom-right-radius: 6px;
        }

        .message.bot .message-content {
            background: #1f2937;
            color: #e2e8f0;
            border: 1px solid #374151;
            border-bottom-left-radius: 6px;
        }

        /* Typing indicator */
        .typing-indicator {
            display: flex;
            align-items: center;
            padding: 1rem 1.25rem;
            background: #1f2937;
            border: 1px solid #374151;
            border-radius: 0.75rem;
            max-width: 80px;
        }

        .typing-dots {
            display: flex;
            gap: 4px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #9ca3af;
            animation: typingBounce 1.4s infinite;
        }

        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }
        .typing-dot:nth-child(3) { animation-delay: 0s; }

        @keyframes typingBounce {
            0%, 60%, 100% {
                opacity: 0.3;
                transform: translateY(0);
            }
            30% {
                opacity: 1;
                transform: translateY(-8px);
            }
        }

        /* Chat form */
        .chat-form {
            padding: 1.5rem 2rem;
            border-top: 1px solid #374151;
            background: #1f2937;
        }

        .input-group {
            display: flex;
            gap: 0.75rem;
            align-items: flex-end;
        }

        #prompt {
            flex: 1;
            min-height: 44px;
            padding: 0.75rem 1rem;
            border: 1px solid #374151;
            border-radius: 0.5rem;
            resize: none;
            background: #374151;
            color: #f8fafc;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }

        #prompt:focus {
            outline: none;
            border-color: #a78bfa;
            box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
        }

        .send-btn {
            background: linear-gradient(135deg, #6d28d9 0%, #a78bfa 100%);
            color: white;
            border: none;
            border-radius: 0.5rem;
            padding: 0.75rem;
            cursor: pointer;
            height: 44px;
            min-height: 44px;
            flex-shrink: 0;
            transition: all 0.2s ease;
        }

        .send-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }

        /* Upload container (Orion) */
        .upload-container {
            background: #1f2937;
            border: 1px solid #374151;
            border-radius: 0.75rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            width: 90vw;
            max-width: 800px;
            margin: 0 auto;
            animation: slideUp 0.3s ease-out;
        }

        .upload-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #374151;
            background: #1f2937;
        }

        .upload-content {
            padding: 2rem;
        }

        .upload-zone {
            text-align: center;
            max-width: 500px;
            margin: 0 auto;
        }

        .upload-icon {
		display: flex;
		justify-content: center; /* Centre horizontalement */
		align-items: center; /* Centre verticalement */
		margin-bottom: 1rem;
		color: #a78bfa;
		}

        .upload-zone h3 {
            color: #f8fafc;
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
            font-weight: 600;
        }

        .upload-zone p {
            color: #9ca3af;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(135deg, #6d28d9 0%, #a78bfa 100%);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
        }

        .btn-success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            margin-top: 1rem;
        }

        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
        }

        .file-info, .upload-result {
            background: #374151;
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin: 1.5rem 0;
            border: 1px solid #4b5563;
        }

        .file-info p, .upload-result p {
            margin: 0.5rem 0;
            color: #e2e8f0;
        }

        .upload-result h4 {
            color: #f8fafc;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            font-weight: 600;
        }

        #transcription-text {
            background: #374151;
            padding: 1rem;
            border-radius: 0.375rem;
            border: 1px solid #374151;
            min-height: 100px;
            color: #e2e8f0;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .dashboard-main {
                padding: 1rem;
            }
            
            .agents {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 0 1rem;
            }
            
            .chat-container, .upload-container {
                width: 95vw;
                margin: 0 1rem;
            }
            
            .chat-content {
                height: 50vh;
            }
        }

        /* Animation de chargement pour le container */
        .container.chat-active .agents {
            display: none;
        }

        /* Scrollbar personnalisée */
        .messages-container::-webkit-scrollbar {
            width: 6px;
        }

        .messages-container::-webkit-scrollbar-track {
            background: #374151;
            border-radius: 3px;
        }

        .messages-container::-webkit-scrollbar-thumb {
            background: #6b7280;
            border-radius: 3px;
        }

        .messages-container::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }


/* ===== PROGRESS BAR AMÉLIORÉE POUR UPLOAD 2.0 ===== */

:root {
    --primary: #6d28d9;
    --primary-dark: #4c1d95;
    --secondary: #a78bfa;
    --dark: #0f172a;
    --light: #f8fafc;
    /* Variables manquantes à ajouter */
    --background-secondary: #374151;
    --border-color: #4b5563;
    --text-primary: #f8fafc;
    --text-light: #9ca3af;
    --primary-color: #6d28d9;
    --accent-color: #a78bfa;
}

.upload-progress {
  background: var(--background-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

.upload-progress p {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  text-align: center;
  font-size: 0.95rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 6px;
  transition: width 0.3s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Animation pour la progression réelle */
.progress-fill {
  background: linear-gradient(90deg, 
    var(--primary-color) 0%, 
    var(--accent-color) 50%, 
    var(--primary-color) 100%);
  background-size: 200% 100%;
  animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Animation spéciale pour le traitement (après upload) */
@keyframes progress-processing {
  0%, 100% { 
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.8;
  }
  50% { 
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    opacity: 1;
  }
}

/* Styles pour différents états */
.progress-bar.uploading .progress-fill {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.progress-bar.processing .progress-fill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  animation: progress-processing 1.5s ease-in-out infinite;
}

.progress-bar.complete .progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
  animation: none;
}

/* Indicateur de vitesse d'upload */
.upload-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.upload-speed,
.upload-eta {
  padding: 0.25rem 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 4px;
}

/* Animation de pulsation pour indiquer l'activité */
.upload-progress.active {
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { 
    border-color: var(--border-color);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2);
  }
  50% { 
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .upload-progress {
    padding: 1rem;
  }
  
  .progress-bar {
    height: 10px;
  }
  
  .upload-stats {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

.upload-result.fade-out {
    animation: fadeOutScale 0.3s ease-in forwards;
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* ===== STYLES POUR LE MESSAGE DE TRANSCRIPTION ===== */

.transcription-processing {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.transcription-processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(16, 185, 129, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.processing-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.processing-title {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    animation: textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

@keyframes textGlow {
    0%, 100% {
        color: #10b981;
        text-shadow: 
            0 0 10px rgba(16, 185, 129, 0.3),
            0 0 20px rgba(16, 185, 129, 0.2);
    }
    50% {
        color: #34d399;
        text-shadow: 
            0 0 20px rgba(16, 185, 129, 0.8),
            0 0 30px rgba(16, 185, 129, 0.4),
            0 0 40px rgba(16, 185, 129, 0.2);
    }
}

.processing-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
}

.processing-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.processing-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.processing-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.processing-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        background: #10b981;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
    50% {
        transform: scale(1.3);
        background: #34d399;
        box-shadow: 
            0 0 20px rgba(16, 185, 129, 0.8),
            0 0 30px rgba(16, 185, 129, 0.3);
    }
}

/* Animation de pulsation pour le conteneur entier */
@keyframes containerPulse {
    0%, 100% {
        border-color: rgba(16, 185, 129, 0.3);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    }
    50% {
        border-color: rgba(16, 185, 129, 0.6);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}

.transcription-processing {
    animation: containerPulse 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .transcription-processing {
        padding: 2rem 1rem;
    }
    
    .processing-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .processing-title {
        font-size: 1.25rem;
    }
    
    .processing-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* Transition douce pour l'apparition/disparition */
.upload-result {
    transition: all 0.5s ease-in-out;
}

.upload-result.fade-in {
    animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== STYLES POUR LA PAGE CONTACT ===== */

        /* Styles pour la gestion des fichiers */
        .file-upload-area {
            border: 2px dashed #6b7280;
            border-radius: 0.5rem;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
            background-color: #374151;
            margin-bottom: 1rem;
        }
        
        .file-upload-area:hover {
            border-color: #a855f7;
            background-color: #4b5563;
        }
        
        .file-upload-area.dragover {
            border-color: #a855f7;
            background-color: #4b5563;
            transform: scale(1.02);
        }
        
        .file-input {
            display: none;
        }
        
        .file-upload-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, #a855f7, #ec4899);
            color: white;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .file-upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
        }
        
        .files-list {
            margin-top: 1rem;
        }
        
        .file-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem;
            background-color: #4b5563;
            border-radius: 0.5rem;
            margin-bottom: 0.5rem;
            border: 1px solid #6b7280;
        }
        
        .file-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex: 1;
        }
        
        .file-name {
            font-weight: 500;
            color: white;
        }
        
        .file-size {
            color: #9ca3af;
            font-size: 0.875rem;
        }
        
        .file-remove {
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 0.25rem;
            padding: 0.25rem 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
            transition: background-color 0.2s;
        }
        
        .file-remove:hover {
            background: #dc2626;
        }
        
        /* Styles pour les messages de statut */
        .form-message {
            padding: 1rem;
            border-radius: 0.5rem;
            margin-top: 1rem;
            display: none;
        }
        
        .form-message.success {
            background-color: #065f46;
            border: 1px solid #10b981;
            color: #d1fae5;
        }
        
        .form-message.error {
            background-color: #7f1d1d;
            border: 1px solid #ef4444;
            color: #fecaca;
        }
        
        .message-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        /* Loading spinner */
        .loading-spinner {
            display: none;
            margin-left: 0.5rem;
        }
        
        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid #6b7280;
            border-top: 2px solid #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .btn-content {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn-text {
            transition: opacity 0.3s;
        }