/* Delete Account Page Styles */
body.delete-account-body {
    overflow-y: auto !important;
    height: auto !important;
    position: relative !important;
}

.delete-account-page {
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.6s ease forwards;
    transition: all 0.3s ease;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card h2 i {
    font-size: 1.5rem;
    color: var(--brand-color);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3:first-of-type {
    margin-top: 0;
}

.info-card h3 i {
    font-size: 1.25rem;
    color: var(--brand-color);
}

.info-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-list {
    list-style-type: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.info-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.info-list li strong {
    color: var(--text-main);
}

.method-card {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.method-card:hover::before {
    left: 100%;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.step-item {
    background: var(--surface-dark);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(22, 163, 74, 0.2);
    border-color: var(--brand-color);
}

.step-number {
    background: var(--text-main);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: var(--brand-color);
    transform: rotate(360deg);
}

.step-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-text strong {
    color: var(--text-main);
}

.warning-card {
    border-left: 4px solid #ef4444;
}

.warning-text {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: #ef4444 !important;
}

.note {
    background: rgba(22, 163, 74, 0.1);
    border-left: 3px solid var(--brand-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: var(--text-muted) !important;
}

.retention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.retention-item {
    background: var(--surface-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.retention-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.retention-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Styles for this page */
.faq-item {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-item:hover {
    border-color: var(--brand-color);
    box-shadow: 0 5px 20px -10px rgba(22, 163, 74, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--brand-color);
    transition: height 0.3s ease;
}

.faq-item:hover .faq-question::before {
    height: 70%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.2rem;
}

.faq-answer p {
    padding-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.2rem 1.2rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Action Section */
.action-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-back,
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
}

.btn-back::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-back:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-back {
    background: var(--surface-light);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-back:hover {
    background: var(--surface-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.2);
}

.btn-back:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-primary {
    background: var(--brand-color);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px -15px rgba(22, 163, 74, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.info-card a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .delete-account-page {
        padding: calc(var(--header-height) + 1rem) 0 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .retention-grid {
        grid-template-columns: 1fr;
    }

    .action-section {
        flex-direction: column;
    }

    .btn-back,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
