/* =====================================
   ELIMINAR CUENTA
===================================== */

.delete-account-button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(220, 38, 38, 0.28);
    border-radius: 8px;
    background: transparent;
    color: #dc2626;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.delete-account-button:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.5);
}

.delete-account-dialog {
    width: min(92vw, 470px);
    max-width: 470px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.delete-account-dialog::backdrop {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.delete-account-dialog-content {
    padding: 28px;
}

.delete-account-warning-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 24px;
    font-weight: 800;
}

.delete-account-dialog h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.delete-account-warning-text {
    margin: 0 0 22px;
    color: #6b7280;
    line-height: 1.55;
    font-size: 14px;
}

.delete-account-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.delete-account-confirmation input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.delete-account-dialog-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn-danger {
    border: 1px solid #b91c1c;
    background: #dc2626;
    color: #ffffff;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-danger:disabled,
.delete-account-dialog-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#eliminar-cuenta-mensaje {
    min-height: 18px;
    color: #dc2626;
}

@media (max-width: 480px) {
    .delete-account-dialog-content {
        padding: 22px;
    }

    .delete-account-dialog-actions {
        flex-direction: column-reverse;
    }

    .delete-account-dialog-actions button {
        width: 100%;
    }
}