/*alerte danger*/
/* Style personnalisé pour danger (erreur) */
.alert-danger {
    background-color: #f8d7da;   /* Rouge pâle */
    border: 1px solid #f5c6cb;   /* Bordure rouge claire */
    color: #721c24;              /* Texte rouge foncé */
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-in-out;
}

/* Animation d’apparition (commune à toutes les alertes) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* alerte attention*/
/* Style personnalisé pour le warning */
.alert-warning {
    background-color: #fff3cd;   /* Jaune pâle */
    border: 1px solid #ffeeba;   /* Bordure jaune */
    color: #856404;              /* Texte brun foncé */
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-in-out;
}

/* Animation d’apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*alerte message succès*/
/* Style personnalisé pour success */
.alert-success {
    background-color: #d4edda;   /* Vert pâle */
    border: 1px solid #c3e6cb;   /* Bordure verte douce */
    color: #155724;              /* Texte vert foncé */
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-in-out;
}

/* Animation d’apparition (réutilisable) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

