@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.delay-700 {
    animation-delay: 700ms;
}

.delay-1000 {
    animation-delay: 1000ms;
}

/*
 * Styles pour la page d'inscription
 */

/* Styles pour le formulaire */
.option-label {
    transition: all 0.2s ease-in-out;
}

.option-label:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Animation float pour les éléments de fond */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

/* Animation pour le conteneur principal */
@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scale-in 0.4s ease-out forwards;
}

/* Focus state pour les inputs */
input:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Styles pour les messages d'erreur de validation */
.field-validation-error {
    color: #f56565;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.input-validation-error {
    border-color: #f56565 !important;
}

/* Style du compteur pour le renvoi du code */
#codeTimer {
    transition: opacity 0.3s ease;
}

#resendCode {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

#resendCode:hover {
    transform: translateY(-1px);
}

/* Animation pour les zones conditionnelles */
#emailSection,
#phoneSection,
#verificationSection,
#passwordSection {
    transition: all 0.3s ease-out;
}

/* Style spécifique pour le champ de code de vérification */
input#VerificationCode {
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-align: center;
}

/* Style pour le spinner du bouton lors de l'envoi */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}