/* Styles pour l'overlay grisé (arrière-plan) */
.modal-del-compte-overlay {
    position: fixed; /* Couvre toute la fenêtre */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond grisé */
    display: none; /* Cacher par défaut */
    z-index: 999; /* En dessous de la modal */
}

/* Styles pour la modal */
.modal-del-compte {
    position: fixed; /* Utilisation de fixed pour l'ancrer à l'écran */
    top: 50%; /* Centrer verticalement */
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuster pour un centrage parfait */
    width: 400px; /* Définir une largeur */
    background-color: white; /* Fond blanc pour la modal */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre pour la modal */
    display: none; /* Cacher par défaut */
    z-index: 1000; /* Modal au-dessus de l'overlay */
}

/* Optionnel, pour éviter que la page défile lorsque la modal est ouverte */
body.modal-open {
    overflow: hidden;
}


.modal-del-compte-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

.modal-del-compte-actions {
    margin-top: 20px;
}