/* ==========================================================================
   DELETE ACCOUNT — Styles dédiés
   ========================================================================== */

/* Menu item supprimer */
.menu-item-delete {
    margin-top: 8px;
    border-top: 1px solid #fee2e2;
    padding-top: 8px;
}

.delete-account-btn {
    color: #EF4444;
}

/* Titre page suppression */
.delete-account-title {
    color: #EF4444;
}

/* Bloc avertissement */
.delete-warning-box {
    padding: 20px;
    background: #FEF2F2;
    border-left: 4px solid #EF4444;
    border-radius: 8px;
    margin-bottom: 24px;
}

.delete-warning-main {
    margin: 0 0 8px;
    font-weight: 600;
    color: #991B1B;
}

.delete-warning-sub {
    margin: 0;
    color: #991B1B;
    font-size: .9rem;
}

/* Champ email confirmation */
.delete-email-wrap {
    margin-bottom: 20px;
}

.delete-email-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.delete-email-input {
    width: 100%;
    max-width: 400px;
}

/* Boutons */
.delete-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-delete-confirm {
    background: #EF4444;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-delete-cancel {
    background: #f3f4f6;
    color: #374151;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Message erreur */
.delete-msg {
    margin-top: 16px;
}

/* Popup succès */
.delete-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
}

.delete-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    z-index: 9999;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.delete-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.delete-popup-icon {
    width: 64px;
    height: 64px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.delete-popup-title {
    margin: 0 0 12px;
    font-size: 1.3rem;
    color: #065F46;
    font-weight: 700;
}

.delete-popup-msg {
    margin: 0 0 24px;
    color: #374151;
    font-size: .95rem;
    line-height: 1.6;
}

.delete-popup-btn {
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    width: 100%;
}
