:root {
    --auth-primary: #2563eb;
    --auth-primary-hover: #1d4ed8;
    --auth-primary-soft: rgba(37, 99, 235, .10);
    --auth-success: #059669;
    --auth-danger: #dc2626;
    --auth-warning: #d97706;
    --auth-text: #172033;
    --auth-muted: #667085;
    --auth-border: #e4e9f2;
    --auth-surface: rgba(255, 255, 255, .94);
    --auth-page: #f6f8fc;
    --auth-field: #fbfcfe;
    --auth-shadow: 0 24px 70px rgba(15, 23, 42, .11);
    --auth-radius-xl: 28px;
    --auth-radius-lg: 18px;
    --auth-radius-md: 13px;
}

[data-bs-theme="dark"] {
    --auth-primary: #60a5fa;
    --auth-primary-hover: #3b82f6;
    --auth-primary-soft: rgba(96, 165, 250, .13);
    --auth-success: #34d399;
    --auth-danger: #fb7185;
    --auth-warning: #fbbf24;
    --auth-text: #edf4ff;
    --auth-muted: #9aa8bc;
    --auth-border: #263247;
    --auth-surface: rgba(14, 22, 36, .95);
    --auth-page: #0b1220;
    --auth-field: #101a2b;
    --auth-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box;
}

.auth-body {
    min-height: 100svh;
    overflow-x: hidden;
    background: var(--auth-page);
    color: var(--auth-text);
}

.auth-body .page {
    min-height: 100svh;
}

.auth-shell {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(420px, 42%) minmax(0, 58%);
    background: var(--auth-page);
}

.auth-form-panel {
    position: relative;
    z-index: 3;
    min-width: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 99, 235, .055), transparent 28%),
        var(--auth-page);
}

.auth-form-scroll {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4.3vw, 68px);
}

.auth-form-container {
    width: 100%;
    max-width: 476px;
    margin-inline: auto;
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--auth-text);
    text-decoration: none;
}

.auth-brand:hover {
    color: var(--auth-text);
    text-decoration: none;
}

.auth-brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 100%);
    box-shadow: 0 11px 28px rgba(37, 99, 235, .26);
}

.auth-brand-copy {
    display: grid;
    gap: 1px;
}

.auth-brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.auth-brand-copy small {
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-home-link,
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.auth-home-link:hover,
.auth-back-link:hover {
    color: var(--auth-primary);
    text-decoration: none;
}

.auth-home-link svg,
.auth-back-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-mobile-context {
    display: none;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.auth-mobile-context span {
    padding: 7px 10px;
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    color: var(--auth-muted);
    background: var(--auth-surface);
    font-size: 10px;
    font-weight: 700;
}

.auth-card {
    padding: clamp(25px, 3.1vw, 38px);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-xl);
    background: var(--auth-surface);
    box-shadow: var(--auth-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-card-header {
    margin-bottom: 27px;
}

.auth-card-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 9px;
    color: var(--auth-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-card-header h1 {
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(25px, 2.2vw, 33px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.auth-card-header p {
    margin: 9px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.9;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-field {
    min-width: 0;
}

.auth-field > label,
.auth-label-row label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--auth-text);
    font-size: 12px;
    font-weight: 750;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-inline-link {
    color: var(--auth-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

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

.auth-card .form-control {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-md);
    color: var(--auth-text);
    background: var(--auth-field);
    box-shadow: none;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-card .form-control::placeholder {
    color: color-mix(in srgb, var(--auth-muted) 72%, transparent);
}

.auth-card .form-control:hover {
    border-color: color-mix(in srgb, var(--auth-primary) 28%, var(--auth-border));
}

.auth-card .form-control:focus {
    border-color: var(--auth-primary);
    background: var(--auth-surface);
    box-shadow: 0 0 0 4px var(--auth-primary-soft);
}

.auth-card .form-control[dir="ltr"],
.auth-card input[type="email"],
.auth-card input[inputmode="numeric"],
.auth-card input[inputmode="tel"] {
    text-align: left;
    direction: ltr;
}

.auth-field-hint {
    margin: 7px 2px 0;
    color: var(--auth-muted);
    font-size: 10px;
    line-height: 1.65;
}

.auth-field-error {
    margin-top: 7px;
    color: var(--auth-danger);
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.7;
}

.auth-field-error ul,
.auth-alert ul {
    margin: 0;
    padding-inline-start: 18px;
}

.auth-field-feedback {
    min-height: 17px;
    margin-top: 6px;
    font-size: 10.5px;
    font-weight: 650;
}

.auth-field-feedback.is-valid {
    color: var(--auth-success);
}

.auth-field-feedback.is-invalid {
    color: var(--auth-danger);
}

.auth-field-feedback.is-loading {
    color: var(--auth-muted);
}

.auth-input-with-icon {
    position: relative;
}

.auth-input-with-icon > span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--auth-muted);
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
}

.auth-input-with-icon .form-control {
    padding-left: 40px;
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .form-control {
    padding-left: 48px;
}

.auth-password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    color: var(--auth-muted);
    background: transparent;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    color: var(--auth-primary);
    background: var(--auth-primary-soft);
    outline: none;
}

.auth-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-password-toggle .auth-eye-closed,
.auth-password-toggle[aria-pressed="true"] .auth-eye-open {
    display: none;
}

.auth-password-toggle[aria-pressed="true"] .auth-eye-closed {
    display: block;
}

.auth-password-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.auth-password-meter > span {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.auth-password-meter i {
    height: 4px;
    border-radius: 99px;
    background: var(--auth-border);
    transition: background .2s ease;
}

.auth-password-meter small {
    min-width: 112px;
    color: var(--auth-muted);
    font-size: 9.5px;
    text-align: left;
}

.auth-password-meter[data-level="1"] i:nth-child(-n+1) { background: #ef4444; }
.auth-password-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.auth-password-meter[data-level="3"] i:nth-child(-n+3) { background: #3b82f6; }
.auth-password-meter[data-level="4"] i:nth-child(-n+4) { background: #10b981; }

.auth-submit-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    box-shadow: 0 13px 30px rgba(37, 99, 235, .22);
    font-size: 12.5px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(37, 99, 235, .29);
    filter: saturate(1.08);
}

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

.auth-submit-btn:disabled {
    cursor: wait;
    opacity: .82;
    transform: none;
}

.auth-submit-btn > svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-submit-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .65s linear infinite;
}

.auth-submit-btn.is-loading {
    pointer-events: none;
}

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

.auth-submit-btn.is-loading > svg {
    display: none;
}

.auth-secondary-btn {
    min-height: 48px;
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    color: var(--auth-text);
    background: var(--auth-field);
    font-size: 12px;
    font-weight: 750;
}

.auth-secondary-btn:hover {
    color: var(--auth-primary);
    border-color: color-mix(in srgb, var(--auth-primary) 40%, var(--auth-border));
    background: var(--auth-primary-soft);
}

.auth-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--auth-border);
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-card-footer > a:not(.auth-back-link) {
    color: var(--auth-primary);
    font-weight: 800;
    text-decoration: none;
}

.auth-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
    color: var(--auth-muted);
    font-size: 10px;
}

.auth-security-note svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--auth-success);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-alert-stack {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-width: 1px;
    border-radius: 13px;
    font-size: 11px;
    line-height: 1.75;
}

.auth-alert-stack .auth-alert {
    margin-bottom: 0;
}

.auth-alert-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.auth-alert-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-account-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding: 11px 12px;
    border: 1px solid var(--auth-border);
    border-radius: 15px;
    background: var(--auth-field);
}

.auth-account-avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--auth-primary);
    background: var(--auth-primary-soft);
    font-size: 14px;
    font-weight: 900;
}

.auth-account-avatar svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-account-copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 1px;
}

.auth-account-copy small {
    color: var(--auth-muted);
    font-size: 9.5px;
}

.auth-account-copy strong {
    overflow: hidden;
    color: var(--auth-text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-account-chip > a {
    color: var(--auth-primary);
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--auth-muted);
    font-size: 10.5px;
    line-height: 1.8;
    cursor: pointer;
}

.auth-consent .form-check-input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border-color: var(--auth-border);
    border-radius: 5px;
}

.auth-link-button {
    display: inline;
    padding: 0;
    border: 0;
    color: var(--auth-primary);
    background: transparent;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.auth-terms-modal .modal-content {
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    background: var(--auth-surface);
    box-shadow: var(--auth-shadow);
}

.auth-terms-modal .modal-header,
.auth-terms-modal .modal-footer {
    border-color: var(--auth-border);
}

.auth-terms-modal .modal-body {
    color: var(--auth-muted);
    line-height: 1.9;
}

.auth-success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px;
    border: 1px solid color-mix(in srgb, var(--auth-success) 28%, var(--auth-border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--auth-success) 7%, var(--auth-surface));
}

.auth-success-banner > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--auth-success);
}

.auth-success-banner svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-success-banner > div {
    display: grid;
    gap: 2px;
}

.auth-success-banner strong {
    color: var(--auth-text);
    font-size: 11.5px;
}

.auth-success-banner small {
    color: var(--auth-muted);
    font-size: 9.5px;
}

.auth-otp-destination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-otp-destination strong {
    color: var(--auth-text);
    font-size: 13px;
}

.auth-otp {
    display: grid;
    grid-template-columns: repeat(4, 58px);
    justify-content: center;
    gap: 10px;
    margin: 8px 0 4px;
}

.auth-card .auth-otp-input {
    min-height: 61px;
    padding: 8px;
    text-align: center !important;
    font-size: 23px;
    font-weight: 850;
}

.auth-action-stack {
    display: grid;
    gap: 10px;
}

.auth-info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 17px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--auth-muted);
    background: color-mix(in srgb, var(--auth-primary) 5%, var(--auth-field));
    font-size: 9.5px;
    line-height: 1.75;
}

.auth-info-note-prominent {
    margin: 0 0 18px;
    border: 1px solid color-mix(in srgb, var(--auth-primary) 18%, var(--auth-border));
}

.auth-info-note svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    fill: none;
    stroke: var(--auth-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Product panel */
.auth-product-panel {
    position: sticky;
    top: 0;
    min-width: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(36px, 5vw, 76px);
    color: #f5f9ff;
    background:
        radial-gradient(circle at 72% 18%, rgba(14, 165, 233, .25), transparent 26%),
        radial-gradient(circle at 18% 82%, rgba(16, 185, 129, .18), transparent 28%),
        linear-gradient(145deg, #061020 0%, #0a1c34 47%, #0b2746 100%);
}

.auth-panel-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.auth-panel-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.auth-panel-orb-one {
    width: 360px;
    height: 360px;
    top: -170px;
    right: -110px;
    border: 1px solid rgba(96, 165, 250, .22);
    box-shadow: inset 0 0 100px rgba(37, 99, 235, .13);
}

.auth-panel-orb-two {
    width: 260px;
    height: 260px;
    bottom: -130px;
    left: -60px;
    border: 1px solid rgba(52, 211, 153, .18);
    box-shadow: inset 0 0 80px rgba(16, 185, 129, .10);
}

.auth-product-content {
    position: relative;
    z-index: 2;
    width: min(100%, 940px);
    margin-inline: auto;
}

.auth-product-copy {
    max-width: 680px;
}

.auth-product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(147, 197, 253, .18);
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(30, 64, 175, .12);
    font-size: 10px;
    font-weight: 750;
}

.auth-product-eyebrow i,
.auth-preview-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, .10);
}

.auth-product-copy h2 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(30px, 3.5vw, 55px);
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.auth-product-copy h2 strong {
    display: block;
    color: #7dd3fc;
    font-weight: 900;
}

.auth-product-copy p {
    max-width: 650px;
    margin: 15px 0 0;
    color: #9eb2cc;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 2;
}

.auth-product-stage {
    position: relative;
    margin-top: clamp(30px, 4vh, 48px);
}

.auth-preview-window {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 25px;
    background: rgba(5, 17, 34, .68);
    box-shadow: 0 38px 100px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.auth-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
}

.auth-preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-preview-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #7dd3fc;
    background: rgba(14, 165, 233, .12);
}

.auth-preview-icon svg,
.auth-floating-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-preview-title > span:last-child {
    display: grid;
    gap: 2px;
}

.auth-preview-title strong {
    color: #edf6ff;
    font-size: 11px;
}

.auth-preview-title small {
    color: #7890aa;
    font-size: 8.5px;
}

.auth-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(52, 211, 153, .18);
    border-radius: 999px;
    color: #86efac;
    background: rgba(16, 185, 129, .07);
    font-size: 8.5px;
    font-weight: 700;
}

.auth-preview-status i {
    width: 6px;
    height: 6px;
    box-shadow: none;
}

.auth-preview-chart-wrap {
    padding: 13px 18px 6px;
}

.auth-preview-chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.auth-chart-grid line {
    stroke: rgba(148, 163, 184, .11);
    stroke-width: 1;
}

.auth-chart-zero {
    stroke: rgba(226, 232, 240, .35);
    stroke-width: 1;
    stroke-dasharray: 6 7;
}

.auth-chart-line-main,
.auth-chart-line-today {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-chart-line-main {
    stroke: #34d399;
    stroke-width: 4.5;
}

.auth-chart-line-today {
    stroke: #60a5fa;
    stroke-width: 2.4;
    stroke-dasharray: 7 6;
}

.auth-chart-breakeven {
    stroke: rgba(251, 191, 36, .72);
    stroke-width: 1.4;
    stroke-dasharray: 5 5;
}

.auth-chart-point {
    fill: #fbbf24;
    stroke: #0b1d34;
    stroke-width: 4;
}

.auth-chart-current {
    fill: #60a5fa;
    stroke: #0b1d34;
    stroke-width: 4;
}

.auth-chart-label rect {
    fill: rgba(245, 158, 11, .14);
    stroke: rgba(251, 191, 36, .25);
}

.auth-chart-current-label rect {
    fill: rgba(37, 99, 235, .17);
    stroke: rgba(96, 165, 250, .25);
}

.auth-chart-label text,
.auth-chart-current-label text {
    fill: #dce9f7;
    font-size: 10px;
    font-family: inherit;
}

.auth-chart-legend {
    display: flex;
    align-items: center;
    gap: 17px;
    padding-inline: 7px;
    color: #8197b0;
    font-size: 8.5px;
}

.auth-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-chart-legend i {
    width: 15px;
    height: 3px;
    border-radius: 9px;
}

.auth-chart-legend .is-expiry { background: #34d399; }
.auth-chart-legend .is-today { background: #60a5fa; }

.auth-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.auth-preview-metrics > div {
    display: grid;
    gap: 4px;
    padding: 13px 16px;
    border-inline-start: 1px solid rgba(148, 163, 184, .11);
}

.auth-preview-metrics > div:first-child {
    border-inline-start: 0;
}

.auth-preview-metrics span {
    color: #7890aa;
    font-size: 8px;
}

.auth-preview-metrics strong {
    color: #e6f0fb;
    font-size: 10.5px;
}

.auth-preview-metrics .is-positive {
    color: #6ee7b7;
}

.auth-floating-card {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 16px;
    color: #e8f2fd;
    background: rgba(9, 27, 49, .88);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.auth-floating-iv {
    top: -25px;
    left: -20px;
    min-width: 112px;
    display: grid;
    gap: 1px;
    padding: 13px 15px;
}

.auth-floating-label {
    color: #7dd3fc;
    font-size: 9px;
    font-weight: 800;
}

.auth-floating-iv strong {
    font-size: 18px;
    font-weight: 850;
}

.auth-floating-iv small {
    color: #7890aa;
    font-size: 8px;
}

.auth-floating-market {
    right: -22px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.auth-floating-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #6ee7b7;
    background: rgba(16, 185, 129, .11);
}

.auth-floating-market > span:last-child {
    display: grid;
    gap: 2px;
}

.auth-floating-market small {
    color: #7890aa;
    font-size: 8px;
}

.auth-floating-market strong {
    font-size: 10px;
}

.auth-feature-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: #a9bad0;
    font-size: 9.5px;
    font-weight: 650;
}

.auth-feature-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-feature-strip svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #34d399;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1280px) {
    .auth-shell {
        grid-template-columns: minmax(400px, 45%) minmax(0, 55%);
    }

    .auth-product-panel {
        padding: 42px;
    }

    .auth-floating-card {
        transform: scale(.92);
    }
}

@media (max-width: 991.98px) {
    .auth-shell {
        display: block;
    }

    .auth-product-panel {
        display: none;
    }

    .auth-form-panel,
    .auth-form-scroll {
        min-height: 100svh;
    }

    .auth-form-scroll {
        padding: 28px 22px;
    }

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

@media (max-width: 575.98px) {
    .auth-form-scroll {
        align-items: flex-start;
        padding: 20px 14px 30px;
    }

    .auth-topbar {
        margin-bottom: 22px;
    }

    .auth-brand-copy small {
        display: none;
    }

    .auth-home-link {
        font-size: 0;
    }

    .auth-home-link svg {
        width: 22px;
        height: 22px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .auth-card-header {
        margin-bottom: 23px;
    }

    .auth-card-header h1 {
        font-size: 25px;
    }

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

    .auth-otp {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .auth-card .auth-otp-input {
        min-height: 55px;
        font-size: 20px;
    }

    .auth-card-footer {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .auth-card {
        background: var(--auth-surface);
    }

    .auth-preview-window,
    .auth-floating-card {
        background: #0a1c32;
    }
}
