/* DealersDataZone — Premium Auth UI */

:root {
    --auth-font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --auth-radius: 12px;
    --auth-radius-sm: 8px;
    --auth-transition: 0.15s ease;

    --auth-primary: var(--primary);
    --auth-primary-dark: var(--primary-dark);
    --auth-accent: var(--primary-light);
    --auth-success: var(--success);
    --auth-danger: var(--danger);
    --auth-warning: var(--warning);
    --auth-bg-start: #0f172a;
    --auth-bg-mid: #1e293b;
    --auth-bg-end: #134e4a;
    --auth-text: var(--text);
    --auth-text-muted: var(--muted);
    --auth-border: var(--border);
    --auth-glass: #ffffff;
    --auth-glass-border: var(--border);
    --auth-card-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    --auth-input-bg: #ffffff;
    --auth-panel-bg: #f1f5f9;
}

[data-theme="dark"] {
    --auth-text: #f1f5f9;
    --auth-text-muted: #94a3b8;
    --auth-border: rgba(255, 255, 255, 0.08);
    --auth-glass: rgba(15, 23, 42, 0.75);
    --auth-glass-border: rgba(255, 255, 255, 0.1);
    --auth-card-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    --auth-input-bg: rgba(30, 41, 59, 0.8);
    --auth-panel-bg: rgba(15, 23, 42, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body.auth-premium {
    margin: 0;
    min-height: 100vh;
    font-family: var(--auth-font);
    color: var(--auth-text);
    background: var(--auth-bg-start);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.auth-bg { display: none; }

.auth-theme-toggle { display: none; }

/* Shell — split layout */
.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    animation: authFadeIn 0.6s ease;
}

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

/* Showcase panel */
.auth-showcase {
    display: flex;
    align-items: center;
    padding: 3rem;
    color: #fff;
    position: relative;
    background: linear-gradient(180deg, var(--auth-bg-start) 0%, var(--auth-bg-end) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-showcase__inner {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    margin-bottom: 2.5rem;
    transition: var(--auth-transition);
}

.auth-brand:hover { opacity: 0.9; color: #fff; }

.auth-brand__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.auth-brand__text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-brand__text span { color: var(--primary-light); }

.auth-showcase__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.auth-showcase__title span {
    color: var(--primary-light);
}

.auth-showcase__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 1.5rem;
}

.auth-networks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-network-chip {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.auth-network-chip--mtn { border-color: rgba(255, 204, 0, 0.35); }
.auth-network-chip--telecel { border-color: rgba(230, 0, 0, 0.35); }
.auth-network-chip--at { border-color: rgba(0, 102, 204, 0.35); }

.auth-stats { display: none; }
.auth-testimonials { display: none; }
.auth-floating-icons { display: none; }

.auth-stat {
    padding: 1rem;
    border-radius: var(--auth-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    transition: var(--auth-transition);
}

.auth-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.auth-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-stat__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Testimonials */
.auth-testimonials {
    position: relative;
    min-height: 140px;
}

.auth-testimonial {
    display: none;
    margin: 0;
    padding: 1.25rem;
    border-radius: var(--auth-radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: authSlideIn 0.5s ease;
}

.auth-testimonial.is-active { display: block; }

@keyframes authSlideIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.auth-testimonial__quote {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
    font-style: normal;
}

.auth-testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-testimonial__author strong {
    display: block;
    font-size: 0.875rem;
}

.auth-testimonial__author small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}

.auth-testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.auth-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: var(--auth-transition);
}

.auth-testimonial-dot.is-active,
.auth-testimonial-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Floating icons */
.auth-floating-icons { position: absolute; inset: 0; pointer-events: none; }

.auth-float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    animation: authFloat 6s ease-in-out infinite;
}

.auth-float--1 { top: 10%; right: -20px; animation-delay: 0s; }
.auth-float--2 { top: 55%; left: -30px; animation-delay: -2s; }
.auth-float--3 { bottom: 20%; right: 5%; animation-delay: -4s; }
.auth-float--4 { top: 30%; left: 10%; animation-delay: -1s; }

@keyframes authFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Form panel */
.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--auth-panel-bg);
    border-left: 1px solid var(--auth-border);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 2.25rem;
    border-radius: var(--auth-radius);
    background: var(--auth-glass);
    border: 1px solid var(--auth-glass-border);
    box-shadow: var(--auth-card-shadow);
}

.auth-card:hover {
    box-shadow: var(--auth-card-shadow);
}

[data-theme="dark"] .auth-card:hover {
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.auth-card__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-card__logo-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--auth-text);
    text-decoration: none;
}

.auth-card__logo-mobile span { color: var(--auth-primary); }

.auth-card__title {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem;
}

.auth-card__subtitle {
    color: var(--auth-text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* Trust badges — removed from UI */
.auth-trust-badges,
.auth-trust-pills {
    display: none;
}

[data-theme="dark"] .auth-trust-badge {
    background: rgba(16, 185, 129, 0.15);
}

/* Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: var(--auth-radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    animation: authSlideIn 0.35s ease;
}

.auth-alert--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

[data-theme="dark"] .auth-alert--success { color: #34d399; }

.auth-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

[data-theme="dark"] .auth-alert--error { color: #f87171; }

.auth-alert__list {
    margin: 0;
    padding-left: 1rem;
}

/* Form fields */
.auth-field {
    margin-bottom: 1.15rem;
}

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

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

.auth-input-wrap > i.auth-input-icon {
    position: absolute;
    left: 0.95rem;
    color: var(--auth-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}

.auth-input {
    width: 100%;
    padding: 0.75rem 0.95rem 0.75rem 2.65rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    background: var(--auth-input-bg);
    color: var(--auth-text);
    transition: var(--auth-transition);
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-input.is-invalid {
    border-color: var(--auth-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.auth-input.is-valid {
    border-color: var(--auth-success);
}

.auth-input--password {
    padding-right: 2.75rem;
}

.auth-input-toggle {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--auth-text-muted);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    transition: var(--auth-transition);
}

.auth-input-toggle:hover {
    color: var(--auth-primary);
    background: rgba(99, 102, 241, 0.08);
}

.auth-field-hint {
    font-size: 0.75rem;
    margin-top: 0.35rem;
    min-height: 1.1rem;
}

.auth-field-hint--warning { color: var(--auth-warning); }
.auth-field-hint--error { color: var(--auth-danger); }
.auth-field-hint--success { color: var(--auth-success); }

/* Password strength */
.auth-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--auth-border);
    margin-top: 0.5rem;
    overflow: hidden;
}

.auth-strength__bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.auth-strength__bar--weak { width: 25%; background: var(--auth-danger); }
.auth-strength__bar--fair { width: 50%; background: var(--auth-warning); }
.auth-strength__bar--good { width: 75%; background: var(--auth-accent); }
.auth-strength__bar--strong { width: 100%; background: var(--auth-success); }

.auth-strength-label {
    font-size: 0.7rem;
    color: var(--auth-text-muted);
    margin-top: 0.25rem;
}

/* Remember / forgot row */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--auth-primary);
    cursor: pointer;
}

.auth-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--auth-transition);
}

.auth-link:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}

/* Primary button */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--auth-radius-sm);
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
    color: #fff;
    cursor: pointer;
    transition: var(--auth-transition);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.auth-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

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

.auth-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

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

.auth-btn.is-loading .auth-btn__spinner { display: inline-block; }
.auth-btn.is-loading .auth-btn__text { opacity: 0.85; }

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

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--auth-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

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

/* Social buttons */
.auth-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--auth-radius-sm);
    border: 1.5px solid var(--auth-border);
    background: var(--auth-input-bg);
    color: var(--auth-text);
    text-decoration: none;
    cursor: pointer;
    transition: var(--auth-transition);
}

.auth-social-btn:hover:not(.is-disabled) {
    border-color: var(--auth-primary);
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-1px);
    color: var(--auth-text);
}

.auth-social-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.auth-social-btn i { font-size: 1rem; }

.auth-social-btn--google i { color: #ea4335; }
.auth-social-btn--facebook i { color: #1877f2; }
.auth-social-btn--apple i { color: var(--auth-text); }
.auth-social-btn--twitter i { color: var(--auth-text); }
.auth-social-btn--microsoft i { color: #00a4ef; }

.auth-social-note {
    font-size: 0.7rem;
    color: var(--auth-text-muted);
    text-align: center;
    margin-top: 0.65rem;
}

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

/* Register — force single centered column (overrides login split shell) */
body.auth-premium--register .auth-shell,
body.auth-register-page .auth-shell,
body.auth-register-page .auth-register-shell {
    display: flex !important;
    grid-template-columns: 1fr !important;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

body.auth-premium--register .auth-panel,
body.auth-register-page .auth-panel--register {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0.5rem;
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    min-height: auto !important;
}

body.auth-premium--register .auth-bg,
body.auth-register-page .auth-register-bg {
    opacity: 0.1;
}

body.auth-premium--register .auth-bg__orb,
body.auth-register-page .auth-bg__orb {
    opacity: 0.2;
    filter: blur(100px);
}

/* Register — premium fintech centered layout */
body.auth-premium--register,
body.auth-register-page {
    background: linear-gradient(160deg, var(--bg) 0%, #eef2ff 42%, #ecfdf5 100%);
}

[data-theme="dark"] body.auth-premium--register,
[data-theme="dark"] body.auth-register-page {
    background: linear-gradient(160deg, var(--dark) 0%, #1e1b4b 50%, var(--dark) 100%);
}

.auth-premium--register .auth-bg {
    opacity: 0.2;
}

.auth-premium--register .auth-bg__orb {
    opacity: 0.35;
    filter: blur(120px);
}

.auth-shell--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    grid-template-columns: 1fr;
    padding: 1rem;
}

.auth-register-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.auth-premium--register .auth-panel--register {
    width: 100%;
    max-width: 440px;
    padding: 0.75rem;
    border: none;
    background: transparent;
    backdrop-filter: none;
}

.auth-card--register {
    width: 100%;
    padding: 1.65rem 1.75rem 1.4rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 20px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .auth-card--register {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.auth-card--register:hover {
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.05),
        0 24px 56px rgba(99, 102, 241, 0.12);
}

.auth-register-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--auth-text);
    margin-bottom: 1.1rem;
}

.auth-register-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #635bff 0%, #0ea5e9 55%, var(--secondary) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.28);
}

.auth-register-brand__name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-register-brand__name span {
    color: var(--auth-primary);
}

.auth-register-intro {
    margin-bottom: 0.85rem;
}

.auth-register-title {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-register-lead {
    margin: 0;
    font-size: 0.875rem;
    color: var(--auth-text-muted);
    line-height: 1.45;
}

.auth-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.auth-trust-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

[data-theme="dark"] .auth-trust-pills li {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
}

.auth-trust-pills i {
    font-size: 0.6rem;
}

.auth-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
}

.auth-register-grid .auth-field--full {
    grid-column: 1 / -1;
}

.auth-form--register .auth-field {
    margin-bottom: 0;
}

.auth-form--register .auth-field label {
    margin-bottom: 0.28rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--auth-text-muted);
}

.auth-form--register .auth-input {
    padding: 0.58rem 0.85rem 0.58rem 2.45rem;
    font-size: 0.875rem;
    border-radius: 12px;
    border-color: rgba(15, 23, 42, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form--register .auth-input:hover {
    border-color: rgba(99, 102, 241, 0.25);
}

.auth-form--register .auth-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.auth-strength--inline {
    margin-top: 0.3rem;
    height: 3px;
}

.auth-form--register .auth-strength-label {
    font-size: 0.62rem;
    min-height: 0.85rem;
    margin-top: 0.1rem;
}

.auth-form--register .auth-field-hint {
    min-height: 0.85rem;
    font-size: 0.62rem;
}

.auth-terms--register {
    margin: 0.65rem 0 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.auth-btn--register {
    padding: 0.72rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #635bff 0%, #4f46e5 45%, #0ea5e9 100%);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.auth-btn--register:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.34);
}

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

.auth-register-signin {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--auth-text-muted);
}

.auth-form--register .auth-alert {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.8rem;
    font-size: 0.8125rem;
}

/* Legacy register helpers */
.auth-card__logo--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--auth-text);
    text-decoration: none;
}

.auth-card__logo--centered i {
    color: var(--auth-primary);
}

.auth-card__logo--centered span { color: var(--auth-primary); }

.auth-card__header--compact {
    margin-bottom: 1rem;
    text-align: center;
}

.auth-card__header--compact .auth-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.2rem;
}

.auth-card__header--compact .auth-card__subtitle {
    font-size: 0.8125rem;
}

.auth-form--register .auth-field--compact {
    margin-bottom: 0.75rem;
}

.auth-form--register .auth-field--compact label {
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
}

.auth-form--register .auth-input {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
    font-size: 0.875rem;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.auth-field-row .auth-field--compact {
    margin-bottom: 0;
}

.auth-strength--compact {
    margin-top: 0.35rem;
}

.auth-strength-label {
    font-size: 0.65rem;
    margin-top: 0.15rem;
    min-height: 0.9rem;
}

.auth-terms--compact {
    margin: 0.15rem 0 0.85rem;
    font-size: 0.75rem;
}

.auth-form--register .auth-btn {
    padding: 0.72rem 1rem;
    font-size: 0.875rem;
}

.auth-footer-text--compact {
    margin-top: 0.85rem;
    font-size: 0.8125rem;
}

.auth-divider--compact {
    margin: 1rem 0 0.65rem;
    font-size: 0.65rem;
}

.auth-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--auth-border);
    background: var(--auth-input-bg);
    color: var(--auth-text-muted);
    font-size: 0.95rem;
    cursor: not-allowed;
    opacity: 0.55;
}

.auth-social-icon.is-disabled:hover {
    transform: none;
    box-shadow: none;
}

.auth-social-icon--google i { color: #ea4335; }
.auth-social-icon--facebook i { color: #1877f2; }
.auth-social-icon--apple i { color: var(--auth-text); }
.auth-social-icon--microsoft i { color: #00a4ef; }

.auth-social-note--coming-soon {
    margin-top: 0.4rem;
    margin-bottom: 0;
    font-size: 0.65rem;
    opacity: 0.75;
}

.auth-form--register .auth-alert {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
}

.auth-label-optional {
    font-weight: 500;
    color: var(--auth-text-muted);
    font-size: 0.75rem;
}

.auth-field-hint--muted {
    color: var(--auth-text-muted);
    font-size: 0.72rem;
}

/* Legacy register styles (unused) */
.auth-secure-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--auth-radius-sm);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--auth-text-muted);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
}

.auth-secure-notice i {
    color: var(--auth-primary);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.35rem 0 1.35rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--auth-text-muted);
    cursor: pointer;
    user-select: none;
}

.auth-terms input {
    width: 16px;
    height: 16px;
    margin-top: 0.15rem;
    accent-color: var(--auth-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.auth-terms .auth-link {
    font-size: inherit;
}

.auth-social-grid--register {
    grid-template-columns: repeat(2, 1fr);
}

/* Mobile sticky submit */
.auth-mobile-sticky {
    display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        display: none;
    }

    .auth-panel {
        border-left: none;
        min-height: 100vh;
        align-items: flex-start;
        padding: 1.25rem;
        padding-bottom: 5rem;
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
        max-width: 100%;
    }

    .auth-card__logo-mobile {
        display: flex;
    }

    .auth-social-grid {
        grid-template-columns: 1fr;
    }

    .auth-social-grid--register {
        grid-template-columns: 1fr;
    }

    .auth-card--register {
        max-height: none;
        overflow: visible;
        padding: 1.35rem 1.15rem 1.15rem;
    }

    .auth-premium--register .auth-panel--register {
        padding: 0.5rem;
        min-height: auto;
        max-width: 100%;
    }

    .auth-register-grid {
        grid-template-columns: 1fr;
    }

    .auth-trust-pills {
        justify-content: center;
    }

    .auth-register-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .auth-register-lead {
        text-align: center;
    }

    .auth-register-brand {
        justify-content: center;
        width: 100%;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .auth-premium--register .auth-mobile-sticky {
        display: none !important;
    }

    .auth-mobile-sticky {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
        background: var(--auth-glass);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--auth-border);
        z-index: 50;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .auth-mobile-sticky.is-visible {
        transform: translateY(0);
    }

    .auth-mobile-sticky .auth-btn {
        margin: 0;
    }

    .auth-form .auth-btn--desktop-only {
        display: none;
    }
}

@media (min-width: 992px) {
    .auth-mobile-sticky { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
