/* Auth pages — shared styles for login, signup, reset password */
.auth-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card-wrapper { width: 100%; max-width: 440px; }
.auth-card { border: none; box-shadow: 0 2px 10px rgba(76,78,100,0.22); border-radius: 12px; overflow: hidden; }
.auth-card .card-body { padding: 32px; }
.auth-heading { text-align: center; margin-bottom: 28px; }
.auth-heading h1 { font-size: 22px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.auth-heading p { font-size: 14px; line-height: 1.5; color: #6B7280; margin-top: 6px; }
.auth-heading .auth-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.auth-heading .auth-icon-green { background: #E8F5E9; color: #2E7D32; }
.auth-link { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-forgot { font-size: 12px; color: var(--primary-color); text-decoration: none; white-space: nowrap; }
.auth-forgot:hover { text-decoration: underline; }
.auth-footer-link { text-align: center; margin-top: 20px; font-size: 14px; color: #6B7280; }
.auth-footer-link a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.auth-footer-link a:hover { text-decoration: underline; }
.auth-version { text-align: center; margin-top: 16px; font-size: 11px; color: #9CA3AF; }

/* ── Signup page ──────────────────────────────────────────────── */

.signup-main { padding: 40px 0 80px; }
.signup-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}
.signup-grid.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 560px;
}

/* Form Card */
.signup-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.signup-form-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    text-align: center;
}
.signup-form-card .subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #6B7280;
    margin-bottom: 28px;
    text-align: center;
}
.signup-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.divider-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 13px;
    color: #9CA3AF;
}
.divider-line::before, .divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.social-signup {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    cursor: pointer;
    transition: all 200ms;
}
.social-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.btn-signup {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 200ms;
}
.btn-signup:hover { background: #1B5E20; }
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6B7280;
}
.login-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}
.login-link a:hover { text-decoration: underline; }

/* Plan Summary Sidebar */
.plan-summary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
}
.plan-summary-header {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: #ffffff;
    padding: 24px;
    text-align: center;
}
.plan-summary-header h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.plan-summary-header .plan-title {
    font-size: 28px;
    font-weight: 800;
}
.plan-summary-header .plan-price-display {
    font-size: 36px;
    font-weight: 800;
    margin-top: 8px;
}
.plan-summary-header .plan-price-display span {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
}
.plan-summary-body { padding: 24px; }
.plan-summary-body h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111827;
    margin-bottom: 12px;
}
.plan-feature-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}
.plan-feature-row .check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.plan-feature-row .x-mark {
    color: #d1d5db;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.plan-summary-footer {
    padding: 16px 24px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}
.plan-summary-footer a {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
}
.plan-badge {
    display: inline-block;
    background: var(--color-three);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
}

/* Account Type Tabs */
.account-type-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.account-type-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 200ms;
}
.account-type-tab + .account-type-tab { border-left: 1px solid #e5e7eb; }
.account-type-tab.active {
    background: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 768px) {
    .signup-grid {
        grid-template-columns: 1fr;
    }
    .plan-summary { position: static; order: -1; }
    .signup-form-row { grid-template-columns: 1fr; }
    .social-signup { flex-direction: column; }
}
