/* Style de base pour la page */
body {
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;
    /* --- NOUVEAUTÉ : Arrière-plan animé --- */
    background: linear-gradient(-45deg, #111827, #1f2937, #4b32b3, #581c87);
    background-size: 400% 400%;
    animation: moveGradient 15s ease infinite;
}

/* Keyframes pour l'animation de l'arrière-plan */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Effet "Glassmorphism" pour les cartes */
.glass-card {
    background: rgba(17, 24, 39, 0.6); /* Fond de carte semi-transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    /* Animation d'apparition de la carte */
    animation: fadeInUp 0.7s ease-out forwards;
}

/* Classe pour animer les éléments du formulaire */
.form-element {
    opacity: 0; /* Commence invisible */
    animation: fadeIn 0.5s ease-out forwards;
}

/* Keyframes pour l'animation de la carte (glissement vers le haut) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes pour l'animation des éléments (fondu) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

