/* Auth pages — clean Meesho-inspired layout */

.auth-split-page {
    min-height: 100vh;
    margin: 0;
    background: #f4f6fa;
}

.auth-split-wrap {
    display: flex;
    min-height: 100vh;
}

.auth-split-left {
    flex: 0 0 50%;
    min-width: 0;
}

.auth-split-right {
    flex: 0 0 50%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 48px 40px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.auth-split-right .auth-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Login — 50/50 split, compact centered card (not stretched) */
.auth-page-login .auth-split-right {
    flex: 0 0 50%;
    padding: 24px 48px 40px;
    background: #fff;
    justify-content: center;
}

.auth-page-login .auth-split-right .auth-card {
    max-width: 420px;
    width: 100%;
    flex: 0 0 auto;
    justify-content: center;
}

.auth-page-login .auth-card-panel--login {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    padding: 32px 28px 28px;
    width: 100%;
    box-sizing: border-box;
}

.auth-page-login .auth-card-head--clean {
    margin-bottom: 24px;
}

.auth-page-login .auth-card-head--clean h2 {
    font-size: 1.35rem;
    line-height: 1.35;
}

.auth-page-login .auth-form-stack {
    gap: 16px;
}

.auth-page-login .auth-field--clean {
    margin-bottom: 0;
}

.auth-page-login .auth-input {
    padding: 0.75rem 1rem;
    min-height: 46px;
    font-size: 0.9375rem;
}

.auth-page-login .auth-role-pills {
    margin-bottom: 0;
}

.auth-page-login .auth-role-pill span {
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page-login .auth-forgot-row {
    margin: 0;
}

.auth-page-login .auth-submit--clean {
    min-height: 46px;
    padding: 0.72rem 1rem;
    margin-top: 4px;
}

.auth-page-login .auth-below-card {
    max-width: 420px;
    width: 100%;
    margin: 24px auto 0;
}

.auth-page-login .auth-field-meta {
    margin-top: 0;
    min-height: 0;
}

.auth-page-login .auth-field-meta .field-error {
    margin-top: 6px !important;
}

.auth-page-login .auth-outline-btn {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top bar */
.auth-top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0 16px;
    flex-shrink: 0;
}

.auth-top-bar--link-only {
    justify-content: flex-end;
}

.auth-top-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.auth-top-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Card */
.auth-card-panel--clean {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.auth-card-panel--login {
    padding: 32px 28px;
}

.auth-card-head--clean {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card-head--clean h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.auth-card-head--clean p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-page-login .auth-card-head--left {
    text-align: left;
    margin-bottom: 24px;
}

.auth-page-login .auth-back-link {
    margin-bottom: 16px;
}

.auth-page-login .auth-or-divider {
    margin: 16px 0 16px;
}

/* Role pills */
.auth-role-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.auth-role-pills--two {
    justify-content: center;
}

.auth-role-pill {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.auth-role-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-role-pill span {
    display: block;
    text-align: center;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.auth-role-pill:has(input:checked) span {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

/* Fields — uniform vertical rhythm */
.auth-form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form-stack > .field-error,
.auth-form-stack > .text-danger {
    margin: -8px 0 0;
}

.auth-stack-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-field--clean {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-field-meta {
    margin-top: 0;
    min-height: 0;
}

.auth-field-meta .field-error {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.auth-field-meta .auth-msg-slot:not(:empty) {
    margin-top: 6px;
    line-height: 1.3;
}

.auth-input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
    color: #1f2937;
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.auth-input-row .auth-input {
    flex: 1;
    min-width: 0;
}

.auth-otp-btn {
    flex-shrink: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0 14px;
    white-space: nowrap;
}

.auth-otp-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
}

.auth-otp-btn.is-done {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

/* OTP inline row */
.auth-otp-slot {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
    margin-top: 0;
}

.auth-otp-slot.is-open {
    height: 48px;
    margin-top: 10px;
}

.auth-otp-inline {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.auth-otp-inline.is-collapsed {
    display: none;
}

.auth-otp-inline .auth-input {
    flex: 1;
    min-width: 0;
}

.auth-verify-btn {
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0 16px;
}

/* Messages */
.auth-msg-slot {
    line-height: 1.3;
}

.auth-inline-error {
    font-size: 0.75rem;
    color: #dc2626;
    line-height: 1.3;
}

.auth-inline-info {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.auth-verified-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
}

.auth-alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.8125rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

/* Password show toggle */
.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .auth-input {
    padding-right: 72px;
}

.auth-show-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.auth-show-pwd:hover {
    color: #374151;
}

.auth-forgot-row {
    text-align: left;
    margin: 0;
}

.auth-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-link--block {
    display: block;
    text-align: center;
}

/* Submit */
.auth-submit--clean {
    width: 100%;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-top: 4px;
}

/* Below-card CTA (login) */
.auth-below-card {
    text-align: center;
    margin-top: 24px;
}

.auth-below-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.auth-outline-btn {
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1.5px solid #2563eb;
    text-decoration: none;
    text-align: center;
}

.auth-outline-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.auth-legal {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 14px 0 0;
    line-height: 1.45;
}

/* Login panel swap (password / forgot / OTP) — same 420px card width for every view */
.auth-page-login #authLoginHost {
    width: 100%;
    max-width: 420px;
}

.auth-page-login .auth-login-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.auth-page-login .auth-login-panel .auth-card-panel {
    width: 100%;
    box-sizing: border-box;
}

.auth-page-login .auth-login-panel .auth-below-card {
    width: 100%;
    max-width: none;
}

.auth-login-panel.d-none {
    display: none !important;
}

/* Forgot password */
.auth-back-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 20px;
}

.auth-back-link:hover {
    text-decoration: underline;
}

.auth-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 500;
}

.auth-or-divider::before,
.auth-or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-note {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8125rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    margin-bottom: 12px;
}

/* Centered auth pages (login, forgot) */
.auth-card--centered {
    justify-content: center;
}

.auth-page--minimal .auth-split-left {
    display: none !important;
}

.auth-page--minimal .auth-split-right {
    flex: 1;
    background: #ede9fe;
    align-items: center;
}

.auth-page--minimal .auth-split-wrap {
    justify-content: center;
}

/* Register card — scroll inside panel if needed, never clip */
.auth-card--register {
    justify-content: flex-start;
    padding-top: 8px;
}

.auth-card--register .auth-card-panel--clean {
    padding: 36px 32px 32px;
}

.auth-card--register .auth-card-head--clean {
    margin-bottom: 28px;
}

.auth-card--register .auth-form-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-card--register .auth-form-stack > * {
    margin: 0;
}

.auth-card--register .auth-form-stack .auth-status-slot.auth-field-feedback {
    margin: 0;
}

.auth-card--register .auth-form-stack .auth-status-slot.auth-field-feedback.is-visible {
    margin-top: 12px;
}

.auth-card--register .auth-input-row {
    gap: 10px;
}

.auth-card--register .auth-verify-btn {
    min-height: 48px;
    padding: 0 18px;
    white-space: nowrap;
}

.auth-card--register .auth-input {
    padding: 0.75rem 1rem;
    min-height: 48px;
}

.auth-card--register .auth-submit--clean {
    margin-top: 0;
}

/* Legacy / shared */
.auth-status-slot {
    min-height: 0;
    margin: 8px 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.4;
    display: none;
}

.auth-status-slot.is-visible {
    display: block;
}

.auth-status-slot.is-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.auth-status-slot.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.auth-status-slot.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-status-slot.is-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #b45309;
}

.auth-readonly-field {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
}

.register-steps {
    margin-bottom: 16px !important;
}

/* Registration stepper — single row, fits auth card width */
.auth-card--register .register-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin-bottom: 28px !important;
    padding: 0 2px;
}

.auth-card--register .register-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    font-size: 0.6875rem;
    line-height: 1.2;
    text-align: center;
    color: #9ca3af;
    font-weight: 500;
}

.auth-card--register .register-steps .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.auth-card--register .register-steps .step.active {
    color: #2563eb;
    font-weight: 600;
}

.auth-card--register .register-steps .step.active .step-num,
.auth-card--register .register-steps .step.current .step-num {
    background: #2563eb;
    color: #fff;
}

.auth-card--register .register-steps .step-label {
    display: block;
    width: 100%;
    font-size: 0.6875rem;
    line-height: 1.25;
    word-break: break-word;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0;
    font-weight: inherit;
}

.auth-card--register .register-steps .step.active .step-label {
    color: #2563eb;
    background: transparent !important;
}

.auth-card--register .register-steps .step-line {
    flex: 0 0 16px;
    width: 16px;
    height: 2px;
    background: #e5e7eb;
    margin: 14px 0 0;
    align-self: flex-start;
}

.auth-card--register .register-steps .step-line.active {
    background: #2563eb;
}

.register-steps-note {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin: -8px 0 16px;
    line-height: 1.4;
}

.auth-register-form {
    margin-top: 4px;
}

.auth-register-form .auth-submit--clean {
    margin-top: 20px;
}

.auth-form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.auth-back-link--form {
    display: block;
    text-align: center;
    margin: 12px 0 0;
}

.auth-card--register .auth-alert {
    margin-bottom: 16px;
}

@media (max-width: 575px) {
    .auth-card--register .register-steps .step-line {
        flex: 0 0 8px;
        width: 8px;
    }

    .auth-card--register .register-steps .step-label {
        font-size: 0.625rem;
    }

    .auth-card--register .register-steps .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.6875rem;
    }

    .auth-card--register .register-steps .step-line {
        margin-top: 12px;
    }
}

/* Authorized seller signature (signup + settings) */
.seller-sig-uploader { margin-top: 0.5rem; }
.seller-sig-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.seller-sig-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1rem;
    align-items: stretch;
}
.seller-sig-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.seller-sig-tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin: 0; }
.seller-sig-tab {
    border: 1px solid #d8dee8;
    background: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}
.seller-sig-tab.is-active {
    background: #0450d5;
    border-color: #0450d5;
    color: #fff;
}
.seller-sig-status-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.seller-sig-status-chip.is-ok { color: #15803d; background: #dcfce7; }
.seller-sig-status-chip.is-warn { color: #b45309; background: #ffedd5; }
.seller-sig-hint { margin: 0 0 0.4rem; font-size: 0.75rem; color: #64748b; }
.seller-sig-canvas-wrap {
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}
.seller-sig-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 160px;
    touch-action: none;
    cursor: crosshair;
}
.seller-sig-actions,
.seller-sig-upload-row {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.seller-sig-upload-row .form-control { flex: 1; min-width: 0; }
.seller-sig-type-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.5rem;
}
.seller-sig-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}
.seller-sig-typed-preview {
    margin-top: 0.5rem;
    min-height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.65rem;
    font-size: 1.5rem;
    color: #0b1f66;
    background: #fff;
}
.seller-sig-status {
    min-height: 1.1rem;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #64748b;
}
.seller-sig-status.is-error { color: #dc2626; }
.seller-sig-status.is-ok { color: #15803d; }
.seller-sig-preview-card {
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    box-sizing: border-box;
}
.seller-sig-preview-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.55rem;
    text-align: center;
}
.seller-sig-preview-block { width: 100%; text-align: center; }
.seller-sig-preview-for { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.25rem; }
.seller-sig-preview-slot { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.seller-sig-preview-img { max-width: 160px; max-height: 48px; object-fit: contain; }
.seller-sig-preview-placeholder {
    width: 150px;
    height: 44px;
    border: 1px dashed #9aa4b2;
    color: #6b7280;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.seller-sig-preview-auth { margin-top: 0.2rem; font-size: 0.7rem; }
.seller-sig-complete-form { margin-top: 0.75rem; }
@media (max-width: 575px) {
    .seller-sig-layout { grid-template-columns: 1fr; }
    .seller-sig-type-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .auth-split-left {
        display: none !important;
    }

    .auth-split-right,
    .auth-page-login .auth-split-right {
        flex: 1;
    }
}

@media (max-width: 575px) {
    .auth-split-right {
        padding: 12px 16px 24px;
    }

    .auth-card-panel--clean {
        padding: 22px 18px;
    }

    .auth-input-row {
        flex-direction: column;
    }

    .auth-otp-btn,
    .auth-verify-btn {
        width: 100%;
    }

    .auth-top-link {
        font-size: 0.8125rem;
    }
}

/* ============================================================
   Premium auth redesign — ShopIt (navy brand panel + float card)
   ============================================================ */
.auth-split-page--premium {
    --auth-ink: #0b1220;
    --auth-muted: #64748b;
    --auth-line: rgba(15, 23, 42, 0.08);
    --auth-accent: #0ea5a4;
    --auth-accent-deep: #0f766e;
    --auth-navy: #071428;
    --auth-navy-2: #0c1f3a;
    --auth-gold: #f0c674;
    --auth-radius: 14px;
    --auth-shadow: 0 24px 60px rgba(7, 20, 40, 0.12), 0 2px 8px rgba(7, 20, 40, 0.04);
    font-family: ""Plus Jakarta Sans"", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(14, 165, 164, 0.08), transparent 55%),
        linear-gradient(180deg, #f3f6fb 0%, #eef2f7 100%);
    color: var(--auth-ink);
}

.auth-split-page--premium .auth-split-left {
    flex: 0 0 46%;
    background:
        radial-gradient(90% 70% at 10% 10%, rgba(14, 165, 164, 0.22), transparent 50%),
        radial-gradient(70% 50% at 90% 80%, rgba(240, 198, 116, 0.12), transparent 45%),
        linear-gradient(165deg, var(--auth-navy) 0%, var(--auth-navy-2) 55%, #102a4a 100%);
    color: #e8eef8;
    padding: 40px 48px 48px;
    position: relative;
    overflow: hidden;
}

.auth-split-page--premium .auth-split-left::before {
    content: """";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.18), transparent 68%);
    pointer-events: none;
}

.auth-split-page--premium .auth-split-right {
    flex: 1;
    background: transparent;
    padding: 28px 40px 48px;
    align-items: stretch;
}

.auth-split-page--premium .auth-top-bar--premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 20px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.auth-split-page--premium .auth-mobile-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    color: var(--auth-ink);
    text-decoration: none;
}
.auth-split-page--premium .auth-mobile-brand span { color: var(--auth-accent-deep); }

.auth-split-page--premium .auth-top-link {
    color: var(--auth-accent-deep);
    font-weight: 650;
    font-size: 0.875rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}
.auth-split-page--premium .auth-top-link:hover {
    background: rgba(14, 165, 164, 0.1);
    color: #0b5f5a;
    text-decoration: none;
}

.auth-split-page--premium .auth-card,
.auth-split-page--premium .auth-page-login .auth-split-right .auth-card {
    max-width: 480px;
}

.auth-split-page--premium .auth-card--float .auth-card-panel--premium,
.auth-split-page--premium .auth-card-panel--premium {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: var(--auth-shadow);
    padding: 36px 32px 28px;
}

.auth-split-page--premium .auth-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--auth-accent-deep);
}

.auth-split-page--premium .auth-card-head--clean {
    text-align: left;
    margin-bottom: 22px;
}
.auth-split-page--premium .auth-card-head--clean h2 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--auth-ink);
    line-height: 1.2;
    margin: 0 0 8px;
}
.auth-split-page--premium .auth-card-head--clean p {
    font-size: 0.9375rem;
    color: var(--auth-muted);
    line-height: 1.5;
}

.auth-split-page--premium .auth-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #334155;
    margin: 0 0 8px;
}
.auth-split-page--premium .auth-label-optional {
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.75rem;
}

.auth-split-page--premium .auth-input {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.85rem 1.05rem;
    min-height: 52px;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--auth-ink);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-split-page--premium .auth-input:hover { border-color: #cbd5e1; }
.auth-split-page--premium .auth-input:focus {
    background: #fff;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.15);
    outline: none;
}
.auth-split-page--premium .auth-input--otp {
    letter-spacing: 0.35em;
    font-weight: 700;
    font-size: 1.15rem;
}

.auth-split-page--premium .auth-submit--clean,
.auth-split-page--premium .btn.auth-submit {
    border: none;
    border-radius: 14px;
    min-height: 52px;
    font-weight: 750;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #14b8a6 0%, var(--auth-accent-deep) 100%);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s;
}
.auth-split-page--premium .auth-submit--clean:hover:not(:disabled),
.auth-split-page--premium .btn.auth-submit:hover:not(:disabled) {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.34);
}
.auth-split-page--premium .auth-submit--clean:disabled { opacity: 0.45; transform: none; box-shadow: none; }

.auth-split-page--premium .auth-outline-btn {
    border-radius: 14px;
    min-height: 50px;
    border: 1.5px solid #dbe3ef;
    font-weight: 700;
    color: var(--auth-ink);
    background: #fff;
    transition: border-color 0.2s, background 0.2s, transform 0.18s;
}
.auth-split-page--premium .auth-outline-btn:hover {
    border-color: var(--auth-accent);
    background: rgba(14, 165, 164, 0.06);
    transform: translateY(-1px);
}

.auth-split-page--premium .auth-ghost-btn {
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 12px;
    min-height: 48px;
    font-weight: 650;
    padding: 0.65rem 1.1rem;
}
.auth-split-page--premium .auth-ghost-btn:hover {
    background: #f8fafc;
    color: var(--auth-ink);
}

.auth-split-page--premium .auth-otp-btn {
    border-radius: 12px;
    min-height: 52px;
    padding: 0 1.1rem;
    font-weight: 700;
    border: 1.5px solid #dbe3ef;
    background: #fff;
    color: var(--auth-accent-deep);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.auth-split-page--premium .auth-otp-btn:hover:not(:disabled) {
    border-color: var(--auth-accent);
    background: rgba(14, 165, 164, 0.08);
}
.auth-split-page--premium .auth-otp-btn.is-done {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.auth-split-page--premium .auth-verify-btn {
    border-radius: 12px;
    min-height: 48px;
    font-weight: 700;
}

.auth-split-page--premium .auth-role-pills .auth-role-pill span {
    border-radius: 12px;
    border-width: 1.5px;
    min-height: 48px;
    font-weight: 700;
}
.auth-split-page--premium .auth-role-pill:has(input:checked) span {
    border-color: var(--auth-accent);
    background: rgba(14, 165, 164, 0.1);
    color: var(--auth-accent-deep);
    box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.12);
}

.auth-split-page--premium .auth-forgot-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.auth-split-page--premium .auth-link {
    color: var(--auth-accent-deep);
    font-weight: 650;
    text-decoration: none;
}
.auth-split-page--premium .auth-link:hover { text-decoration: underline; }
.auth-split-page--premium .auth-link--block {
    display: block;
    text-align: center;
    margin-top: 4px;
}

.auth-split-page--premium .auth-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.auth-split-page--premium .auth-or-divider::before,
.auth-split-page--premium .auth-or-divider::after {
    content: """";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.auth-split-page--premium .auth-or-divider span { flex-shrink: 0; }

.auth-split-page--premium .auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-muted);
    font-weight: 650;
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 18px;
}
.auth-split-page--premium .auth-back-link:hover { color: var(--auth-ink); }

.auth-split-page--premium .auth-password-wrap { position: relative; }
.auth-split-page--premium .auth-password-wrap .auth-input { padding-right: 3rem; }
.auth-split-page--premium .auth-show-pwd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1;
}
.auth-split-page--premium .auth-show-pwd:hover { color: var(--auth-ink); background: #f1f5f9; }

.auth-split-page--premium .auth-below-card {
    margin-top: 22px;
    text-align: center;
}
.auth-split-page--premium .auth-below-label {
    margin: 0 0 10px;
    color: var(--auth-muted);
    font-size: 0.875rem;
}
.auth-split-page--premium .auth-legal {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* Marketing left panel */
.auth-marketing--premium {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 440px;
}
.auth-marketing--premium .auth-marketing-logo {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    text-decoration: none;
    margin-bottom: 36px;
}
.auth-marketing--premium .auth-marketing-logo span { color: var(--auth-gold); }
.auth-marketing--premium .auth-marketing-eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240, 198, 116, 0.9);
}
.auth-marketing--premium .auth-marketing-headline {
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #fff;
}
.auth-marketing--premium .auth-marketing-lede {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.82);
    max-width: 36ch;
}

.auth-trust-stage {
    position: relative;
    min-height: 168px;
    margin-bottom: 18px;
}
.auth-trust-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    animation: authTrustIn 0.55s ease;
}
.auth-trust-card.is-active { display: block; }
@keyframes authTrustIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(14, 165, 164, 0.35), rgba(240, 198, 116, 0.2));
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.auth-trust-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 750;
    color: #fff;
    letter-spacing: -0.02em;
}
.auth-trust-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.78);
}

.auth-trust-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}
.auth-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.25s, background 0.25s;
}
.auth-trust-dot.is-active {
    width: 22px;
    background: var(--auth-gold);
}

.auth-marketing--premium .auth-marketing-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
    text-decoration: none;
    font-size: 0.9rem;
}
.auth-marketing--premium .auth-marketing-link:hover { color: var(--auth-gold); }

/* Registration wizard */
.auth-mini-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 6px;
    background: #f1f5f9;
    border-radius: 14px;
}
.auth-mini-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    transition: background 0.2s, color 0.2s;
}
.auth-mini-step span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.65rem;
}
.auth-mini-step.is-current {
    background: #fff;
    color: var(--auth-ink);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.auth-mini-step.is-current span {
    background: var(--auth-accent-deep);
    color: #fff;
}
.auth-mini-step.is-done { color: var(--auth-accent-deep); }
.auth-mini-step.is-done span {
    background: #ccfbf1;
    color: var(--auth-accent-deep);
}

.auth-role-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}
.auth-role-card { margin: 0; cursor: pointer; }
.auth-role-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.auth-role-card-inner {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    gap: 12px;
    align-items: center;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s, background 0.2s;
}
.auth-role-card:hover .auth-role-card-inner {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.auth-role-card:has(input:checked) .auth-role-card-inner {
    border-color: var(--auth-accent);
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.06), #fff);
    box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.12);
}
.auth-role-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #0f766e;
    font-size: 1.25rem;
}
.auth-role-card:has(input:checked) .auth-role-card-icon {
    background: rgba(14, 165, 164, 0.14);
    color: var(--auth-accent-deep);
}
.auth-role-card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.auth-role-card-copy strong {
    font-size: 0.98rem;
    font-weight: 750;
    color: var(--auth-ink);
    letter-spacing: -0.02em;
}
.auth-role-card-copy small {
    font-size: 0.78rem;
    color: var(--auth-muted);
    line-height: 1.35;
}
.auth-role-card-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0.85rem;
}
.auth-role-card:has(input:checked) .auth-role-card-check {
    background: var(--auth-accent-deep);
    border-color: var(--auth-accent-deep);
    color: #fff;
}

.auth-wizard-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-top: 8px;
}
.auth-wizard-nav .auth-submit { width: 100%; }

.auth-reveal { display: none; margin-top: 4px; }
.auth-reveal.is-visible {
    display: block;
    animation: authTrustIn 0.4s ease;
}

.auth-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-top: 10px;
}
.auth-strength[aria-hidden=""true""] { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.auth-strength-bar {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
}
.auth-strength-bar.is-on { background: #f59e0b; }
.auth-strength[data-score=""2""] .auth-strength-bar.is-on { background: #eab308; }
.auth-strength[data-score=""3""] .auth-strength-bar.is-on { background: #14b8a6; }
.auth-strength[data-score=""4""] .auth-strength-bar.is-on { background: #0f766e; }
.auth-strength-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--auth-muted);
    min-width: 4.5rem;
}

.auth-split-page--premium .auth-otp-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 10px;
    max-height: 120px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s;
}
.auth-split-page--premium .auth-otp-inline.is-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.auth-split-page--premium .register-steps--premium {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 22px;
    padding: 12px 10px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid var(--auth-line);
    overflow-x: auto;
}
.auth-split-page--premium .register-steps--premium .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 64px;
    flex: 1;
    opacity: 0.45;
}
.auth-split-page--premium .register-steps--premium .step.active,
.auth-split-page--premium .register-steps--premium .step.current { opacity: 1; }
.auth-split-page--premium .register-steps--premium .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 750;
    background: #e2e8f0;
    color: #64748b;
}
.auth-split-page--premium .register-steps--premium .step.active .step-num,
.auth-split-page--premium .register-steps--premium .step.current .step-num {
    background: var(--auth-accent-deep);
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.3);
}
.auth-split-page--premium .register-steps--premium .step-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
}
.auth-split-page--premium .register-steps--premium .step.current .step-label {
    color: var(--auth-ink);
}
.auth-split-page--premium .register-steps--premium .step-line {
    height: 2px;
    flex: 0.4 1 16px;
    background: #e2e8f0;
    border-radius: 999px;
    margin-top: -14px;
}
.auth-split-page--premium .register-steps--premium .step-line.active {
    background: linear-gradient(90deg, var(--auth-accent), var(--auth-accent-deep));
}

.auth-split-page--premium .auth-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.8125rem;
    font-weight: 550;
}

.auth-split-page--premium .auth-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 700;
}
.auth-split-page--premium .auth-inline-info { color: #0369a1; font-size: 0.8125rem; }
.auth-split-page--premium .auth-inline-error { color: #dc2626; font-size: 0.8125rem; }

@media (max-width: 991px) {
    .auth-split-page--premium .auth-split-right {
        padding: 16px 20px 32px;
        background:
            radial-gradient(90% 40% at 50% 0%, rgba(14, 165, 164, 0.08), transparent 55%),
            #f3f6fb;
    }
}

@media (max-width: 575px) {
    .auth-split-page--premium .auth-card-panel--premium {
        padding: 26px 18px 22px;
        border-radius: 18px;
    }
    .auth-split-page--premium .auth-card-head--clean h2 { font-size: 1.4rem; }
    .auth-mini-step { font-size: 0.68rem; }
    .auth-role-card-inner { grid-template-columns: 42px 1fr 24px; }
    .auth-wizard-nav { grid-template-columns: 1fr; }
    .auth-split-page--premium .auth-input-row--otp {
        flex-direction: column;
    }
    .auth-split-page--premium .auth-otp-btn { width: 100%; }
}
