/* public/css/modals.css */

/* --- Modale de Confirmation --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #3b4446;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content h3 { /* Titre de la modale */
    color: #2ecc71;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.modal-content p { /* Texte de la modale */
    margin-bottom: 25px;
    color: #dfe6e9;
    line-height: 1.7;
}

.modal-actions button { /* Les boutons ici peuvent utiliser .button-link, .button-link-danger etc. de forms.css */
    margin: 0 10px;
    padding: 10px 25px; /* Un peu plus large pour les boutons de modale, ou laisser gérer par .button-link */
}