/* =============================================
   SHANNON AI - DELETE ACCOUNT PAGE
   ============================================= */

.delete-account-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: #030712;
    color: #f1f5f9;
    overflow-x: hidden;
}

.delete-account-hero {
    position: relative;
    z-index: 2;
    padding: 120px 24px 48px;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(3, 7, 18, 0.92) 100%
    );
}

.delete-account-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.delete-account-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.28);
    border-radius: 999px;
    margin-bottom: 20px;
}

.delete-account-hero-badge svg {
    font-size: 18px;
    color: #f87171;
}

.delete-account-hero-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.delete-account-hero-title {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.delete-account-hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.85);
    max-width: 480px;
    margin: 0;
}

.delete-account-section {
    position: relative;
    z-index: 2;
    padding: 0 24px 80px;
}

.is-hidden {
    display: none !important;
}

.delete-account-card {
    background: rgba(3, 7, 18, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    padding: 32px;
}

.delete-account-warning {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.delete-account-warning svg {
    font-size: 28px;
    color: #f87171;
    flex-shrink: 0;
    margin-top: 2px;
}

.delete-account-warning strong {
    display: block;
    color: #fca5a5;
    font-size: 1rem;
    margin-bottom: 6px;
}

.delete-account-warning p {
    color: rgba(203, 213, 225, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.delete-account-info {
    margin-bottom: 28px;
}

.delete-account-info h3 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
    margin: 0 0 12px 0;
}

.delete-account-info ul {
    margin: 0;
    padding-left: 20px;
}

.delete-account-info li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.8);
    margin-bottom: 6px;
}

.delete-account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.9);
}

.form-field label strong {
    color: #f87171;
}

.delete-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    font-size: 0.95rem;
    padding: 14px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delete-input:hover,
.delete-input:focus {
    border-color: rgba(148, 163, 184, 0.4);
    outline: none;
}

.delete-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.delete-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
    opacity: 1;
}

.delete-input .MuiOutlinedInput-root {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.delete-input .MuiOutlinedInput-root fieldset {
    border-color: rgba(148, 163, 184, 0.2);
}

.delete-input .MuiOutlinedInput-root:hover fieldset {
    border-color: rgba(148, 163, 184, 0.4);
}

.delete-input .MuiOutlinedInput-root.Mui-focused fieldset {
    border-color: #dc2626;
}

.delete-input .MuiOutlinedInput-input {
    color: #f1f5f9;
    font-size: 0.95rem;
    padding: 14px 16px;
}

.delete-input .MuiOutlinedInput-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
    opacity: 1;
}

.delete-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fecaca;
    font-size: 0.92rem;
}

.delete-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border: 1px solid rgba(220, 38, 38, 0.5) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.delete-submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.delete-submit-button:disabled {
    background: rgba(100, 100, 100, 0.3) !important;
    border-color: rgba(100, 100, 100, 0.2) !important;
    color: rgba(148, 163, 184, 0.5) !important;
}

.delete-footer-note {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
    text-align: center;
    margin: 8px 0 0 0;
    line-height: 1.6;
}

/* Success state */
.delete-account-success {
    text-align: center;
    padding: 48px 32px;
}

.delete-account-success .success-icon {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 20px;
}

.delete-account-success h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.delete-account-success p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.85);
    margin: 0 0 12px 0;
}

.delete-account-success .success-note {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
    margin-top: 20px;
}

@media (max-width: 600px) {
    .delete-account-card {
        padding: 24px 20px;
    }

    .delete-account-warning {
        flex-direction: column;
        gap: 12px;
    }
}
