/* ============================================================================
   AUTH PAGES — Login, Register, Forgot/Reset Password
   Professional design with glassmorphism, dark/light theme, animations
   ============================================================================ */

/* ---- Base layout ---- */
.auth-page {
    display: flex;
    min-height: 100vh;
    background: var(--color-bg);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* ---- Animated background ---- */
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: authFloat 20s ease-in-out infinite;
}

.auth-bg-gradient:nth-child(1) {
    width: 600px; height: 600px;
    background: var(--color-primary);
    top: -20%; left: -10%;
    opacity: 0.15;
}

.auth-bg-gradient:nth-child(2) {
    width: 500px; height: 500px;
    background: #7c3aed;
    bottom: -15%; right: -10%;
    opacity: 0.12;
    animation-delay: -7s;
    animation-direction: reverse;
}

.auth-bg-gradient:nth-child(3) {
    width: 350px; height: 350px;
    background: #06b6d4;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation-delay: -14s;
}

@keyframes authFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---- Branding panel (left side on desktop) ---- */
.auth-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.auth-brand-content {
    max-width: 420px;
    text-align: center;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.auth-brand-logo svg {
    filter: drop-shadow(0 4px 12px rgba(89, 60, 251, 0.3));
}

.auth-brand-logo span {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.auth-brand-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.auth-brand-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.auth-brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.auth-brand-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.auth-brand-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(89, 60, 251, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-brand-feature-icon svg {
    color: var(--color-primary);
}

/* ---- Form panel (right side) ---- */
.auth-form-panel {
    width: 520px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255,255,255,0.05);
    animation: authCardIn 0.5s ease-out;
    position: relative;
}

@keyframes authCardIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.auth-card-header p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ---- Theme toggle ---- */
.auth-theme-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
    z-index: 10;
}

.auth-theme-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(89, 60, 251, 0.06);
    transform: rotate(15deg);
}

.auth-theme-toggle .icon-sun,
.auth-theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .auth-theme-toggle .icon-sun { display: block; }
[data-theme="light"] .auth-theme-toggle .icon-moon { display: block; }
html:not([data-theme]) .auth-theme-toggle .icon-moon { display: block; }

/* ---- Form elements ---- */
.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

.auth-input-wrap input {
    width: 100%;
    padding: 0.8rem 0.875rem 0.8rem 42px;
    font-size: 0.9375rem;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.25s ease;
    outline: none;
    font-family: inherit;
}

.auth-input-wrap input::placeholder {
    color: var(--color-text-muted);
}

.auth-input-wrap input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(89, 60, 251, 0.1);
}

.auth-input-wrap input:focus ~ .auth-input-icon,
.auth-input-wrap input:focus + .auth-input-icon {
    color: var(--color-primary);
}

/* Fix: icon is before input, use :focus-within */
.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--color-primary);
}

.auth-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 1;
}

.auth-toggle-password:hover {
    color: var(--color-text);
}

/* ---- Row: remember me + forgot ---- */
.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    user-select: none;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--color-border);
    appearance: none;
    -webkit-appearance: none;
    background: var(--color-bg);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.auth-checkbox input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.auth-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1.5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-forgot-link {
    font-size: 0.8125rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.auth-forgot-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ---- Submit button ---- */
.auth-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(89, 60, 251, 0.35);
}

.auth-btn:hover::before {
    opacity: 1;
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: authSpin 0.6s linear infinite;
    display: none;
}

.auth-btn.loading .spinner {
    display: block;
}

.auth-btn.loading .btn-text {
    opacity: 0;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

/* ---- Divider ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ---- Footer link ---- */
.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.auth-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ---- Alerts ---- */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    animation: authAlertIn 0.3s ease-out;
}

@keyframes authAlertIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

[data-theme="dark"] .auth-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

[data-theme="dark"] .auth-alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.auth-alert-info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

[data-theme="dark"] .auth-alert-info {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

/* ---- Password strength indicator ---- */
.auth-pw-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.auth-pw-bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--color-border);
    transition: background 0.3s;
}

.auth-pw-bar.active.weak { background: #ef4444; }
.auth-pw-bar.active.medium { background: #f59e0b; }
.auth-pw-bar.active.strong { background: #10b981; }

.auth-pw-label {
    font-size: 0.6875rem;
    margin-top: 4px;
    font-weight: 500;
}

.auth-pw-label.weak { color: #ef4444; }
.auth-pw-label.medium { color: #f59e0b; }
.auth-pw-label.strong { color: #10b981; }

/* ---- Name row (register) ---- */
.auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ---- Copyright ---- */
.auth-copyright {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    z-index: 1;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .auth-brand {
        display: none;
    }

    .auth-form-panel {
        width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-form-panel {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .auth-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .auth-card-header h1 {
        font-size: 1.25rem;
    }

    .auth-btn {
        padding: 0.8rem;
    }

    .auth-name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-copyright {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        text-align: center;
        margin-top: 1.5rem;
    }
}

/* ============================================================================
   REGISTER PAGE — Wide layout with step wizard
   ============================================================================ */
.auth-page--register {
    justify-content: center;
}

.auth-page--register .auth-brand { display: none; }

.auth-page--register .auth-form-panel {
    width: 100%;
    max-width: 960px;
    flex-shrink: 1;
}

.auth-page--register .auth-card {
    max-width: 100%;
}

/* ---- Step Wizard ---- */
.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.auth-step.active { color: var(--color-primary); }
.auth-step.done { color: var(--color-success, #10b981); }

.auth-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.auth-step.active .auth-step-num {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.auth-step.done .auth-step-num {
    border-color: var(--color-success, #10b981);
    background: var(--color-success, #10b981);
    color: #fff;
}

.auth-step-separator {
    width: 40px;
    height: 2px;
    background: var(--color-border);
    margin: 0 12px;
    border-radius: 2px;
    transition: background 0.3s;
}

.auth-step-separator.done {
    background: var(--color-success, #10b981);
}

/* ---- Step containers ---- */
.auth-wizard-step { display: none; }
.auth-wizard-step.active { display: block; animation: authCardIn 0.35s ease-out; }

/* ---- Pricing Section (Step 1) ---- */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.pricing-header p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.pricing-toggle-label { font-weight: 500; cursor: pointer; }
.pricing-toggle-label.active { color: var(--color-text); font-weight: 700; }

.pricing-toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pricing-toggle-switch.yearly { background: var(--color-primary); }
.pricing-toggle-switch.yearly::after { transform: translateX(20px); }

.pricing-save-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ---- Pricing Cards Grid ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    background: var(--color-bg);
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(89, 60, 251, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.pricing-card.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), 0 8px 30px rgba(89, 60, 251, 0.12);
}

.pricing-card.highlighted {
    border-color: var(--color-primary);
}

.pricing-card-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-card-head {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.pricing-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.pricing-card-icon.free { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.pricing-card-icon.pro { background: rgba(89, 60, 251, 0.1); color: var(--color-primary); }
.pricing-card-icon.business { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.pricing-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.pricing-card-desc {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.pricing-card-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.pricing-card-price .currency { font-size: 1.2rem; vertical-align: top; margin-right: 2px; }
.pricing-card-price .period {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-card-price-yearly {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.pricing-card-price-note {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
    font-style: italic;
}

/* ---- Feature list ---- */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.pricing-feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.pricing-feature-icon.yes {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.pricing-feature-icon.no {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

.pricing-feature-icon.extra {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.pricing-feature strong {
    font-weight: 600;
    color: var(--color-text);
}

.pricing-feature .extra-cost {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    display: block;
}

/* Booster SMS hint */
.pricing-feature-boost {
    margin-top: 0.1rem;
    padding: 0.3rem 0.5rem;
    background: rgba(139, 92, 246, 0.06);
    border: 1px dashed rgba(139, 92, 246, 0.25);
    border-radius: 8px;
}
.pricing-feature-boost span:last-child {
    font-size: 0.72rem;
    color: #8b5cf6;
    font-weight: 600;
}
.pricing-feature-icon.boost {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

/* ---- CTA inside card ---- */
.pricing-cta {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
}

.pricing-cta:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pricing-cta.primary {
    border: none;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
}

.pricing-cta.primary:hover {
    box-shadow: 0 4px 16px rgba(89, 60, 251, 0.3);
    transform: translateY(-1px);
}

.pricing-card.selected .pricing-cta {
    border: none;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
}

/* ---- Guarantee note ---- */
.pricing-guarantee {
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-guarantee svg { flex-shrink: 0; }

/* ---- Step 2: Plan summary bar ---- */
.auth-plan-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(89, 60, 251, 0.06);
    border: 1px solid rgba(89, 60, 251, 0.15);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
}

.auth-plan-summary-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.auth-plan-summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.auth-plan-summary-change {
    font-size: 0.78rem;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 500;
    background: none;
    border: none;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-plan-summary-change:hover { opacity: 0.7; }

/* ---- Responsive register ---- */
@media (max-width: 768px) {
    .auth-page--register .auth-form-panel {
        max-width: 100%;
        padding: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .pricing-card-price {
        font-size: 1.6rem;
    }

    .auth-steps {
        margin-bottom: 1.5rem;
    }

    .auth-step-label { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-grid {
        gap: 0.75rem;
    }

    .pricing-card {
        padding: 1.25rem 1rem;
    }
}

/* ============================================================================
   DARK THEME ADJUSTMENTS
   ============================================================================ */
[data-theme="dark"] .auth-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.03);
}

[data-theme="dark"] .auth-bg-gradient:nth-child(1) { opacity: 0.08; }
[data-theme="dark"] .auth-bg-gradient:nth-child(2) { opacity: 0.06; }
[data-theme="dark"] .auth-bg-gradient:nth-child(3) { opacity: 0.04; }

[data-theme="dark"] .auth-brand-feature-icon {
    background: rgba(89, 60, 251, 0.15);
}
