/* Styles pour le loader */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Animation pour le bouton disabled */
button:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

/* Animation shake améliorée */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* Style pour les champs invalides */
.form-control.is-invalid {
    background-image: none;
}

/* Animation pour les messages de validation */
.invalid-feedback {
    animation: fadeIn 0.3s ease-in-out;
}
