/* 24racks Cloud — auth: sign-in, sign-up, reset, verify. Wrapper, intro, card, form system, OAuth */

.auth-theme-root {
    --r-paper: #F7F3EA;
    --r-paper-2: #EFE8DC;
    --r-card: #FFFFFF;
    --r-ink: #0D1117;
    --r-muted: #6F6A60;
    --r-muted-2: #90887B;
    --r-line: #DED5C8;
}

.auth-theme-root,
.auth-theme-root body {
    background: var(--r-paper) !important;
}

.auth-theme-root .app {
    min-height: 100dvh;
}

.auth-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 4.25rem;
    padding: 0 1.5rem;
    background: rgba(247, 243, 234, .82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--r-line);
}

.auth-topbar-brand {
    display: inline-flex;
    align-items: center;
}

.auth-topbar-brand img {
    height: 30px;
    width: auto;
}

.auth-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.auth-topbar-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    color: var(--r-muted);
    background: var(--r-card);
    border: 1px solid var(--r-line);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s, border-color .15s, background .15s;
}

.auth-topbar-back:hover {
    color: var(--r-ink);
    border-color: var(--r-muted-2);
}

.auth-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--r-ink);
    background: var(--r-card);
    border: 1px solid var(--r-line);
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.auth-theme-toggle:hover {
    background: var(--r-paper-2);
}

.auth-theme-toggle svg {
    width: 18px;
    height: 18px;
}

.auth-theme-toggle .r24-ic-sun {
    display: none;
}

.auth-theme-root[data-theme="dark"] .auth-theme-toggle .r24-ic-sun {
    display: block;
}

.auth-theme-root[data-theme="dark"] .auth-theme-toggle .r24-ic-moon {
    display: none;
}

/* ── Auth page + shell + intro side ────────────────────────── */
.auth-page {
    min-height: calc(100dvh - 4.25rem);
    margin-top: 4.25rem;
    position: relative;
    overflow: hidden;
}

.auth-blob {
    position: fixed;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.auth-blob-1 {
    width: 700px;
    height: 700px;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(59, 130, 246, .07) 0%, transparent 70%);
    filter: blur(120px);
}

.auth-blob-2 {
    width: 400px;
    height: 400px;
    right: -5%;
    bottom: -10%;
    background: radial-gradient(circle, rgba(184, 121, 57, .06) 0%, transparent 70%);
    filter: blur(100px);
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100dvh - 4.25rem);
    margin-top: 4.25rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .auth-split {
        grid-template-columns: 1fr 1fr;
    }
}

.auth-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    position: relative;
    z-index: 1;
}

.auth-left .auth-card {
    width: min(100%, 520px);
}

.auth-right {
    display: none;
    position: relative;
    overflow: hidden;
    background: #0D1117;
    border-left: 1px solid var(--border-dim);
}

@media (min-width: 1024px) {
    .auth-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem;
    }
}

.auth-right-glow,
.auth-right-glow-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.auth-right-glow {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, .20) 0%, transparent 70%);
}

.auth-right-glow-2 {
    left: -60px;
    bottom: 0;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(96, 165, 250, .12) 0%, transparent 70%);
}

.auth-right-inner {
    position: relative;
    z-index: 1;
    max-width: 380px;
    text-align: center;
}

.auth-right-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .28);
    border-radius: 22px;
}

.auth-right-logo-wrap img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.auth-right-brand {
    margin-bottom: 1.5rem;
    color: #90887B;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.auth-right-title {
    margin: 0 0 .75rem;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.auth-right-desc {
    margin: 0 auto 2.5rem;
    color: #b9b3a7;
    font-size: .875rem;
    line-height: 1.65;
}

.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.auth-stat-value {
    display: block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
}

.auth-stat-label {
    margin-top: .3rem;
    color: #90887B;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(420px, 1fr);
    min-height: calc(100dvh - 4.25rem);
}

.auth-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 44px;
    color: #F7F3EA;
    background: #0D1117;
    overflow: hidden;
    isolation: isolate;
}

.auth-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 18px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.auth-intro-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 6px;
    background: rgba(59, 130, 246, .10);
    border: 1px solid rgba(59, 130, 246, .35);
    border-radius: var(--radius-lg);
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.auth-intro-logo:hover {
    background: rgba(59, 130, 246, .16);
    border-color: rgba(59, 130, 246, .55);
    transform: translateY(-1px);
}

.auth-intro-logo img {
    width: 44px;
    height: auto;
    object-fit: contain;
}

.auth-intro-tag {
    color: rgba(247, 243, 234, .42);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.auth-intro-title {
    margin: 4px 0 0;
    color: #F7F3EA;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 820;
    line-height: 1.05;
    letter-spacing: -.022em;
}

.auth-intro-title b {
    color: var(--brand);
    font-weight: 820;
}

.auth-intro-desc {
    margin: 0;
    max-width: 38ch;
    color: rgba(247, 243, 234, .62);
    font-size: 15px;
    line-height: 1.55;
}

.auth-intro-divider {
    width: 100%;
    height: 1px;
    margin: 18px 0 6px;
    background: linear-gradient(90deg, transparent, rgba(247, 243, 234, .14) 25%, rgba(247, 243, 234, .14) 75%, transparent);
}

.auth-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
}

.auth-intro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
}

.auth-intro-stat strong {
    color: #F7F3EA;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -.018em;
    line-height: 1;
}

.auth-intro-stat span {
    color: rgba(247, 243, 234, .48);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-intro-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    color: rgba(247, 243, 234, .42);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .04em;
    border-top: 1px solid rgba(247, 243, 234, .07);
}

.auth-intro-foot a {
    color: rgba(247, 243, 234, .78);
    text-decoration: none;
    transition: color var(--transition-base);
}

.auth-intro-foot a:hover {
    color: var(--brand);
}

@media (min-width: 721px) and (max-width: 1180px) {
    .auth-intro {
        padding: 36px;
    }

    .auth-intro-title {
        font-size: clamp(28px, 3.4vw, 36px);
    }

    .auth-intro-stat strong {
        font-size: 20px;
    }
}

/* ── OAuth / social login buttons ──────────────────────────── */
.auth-form-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    color: var(--text-1);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 660;
    text-decoration: none;
    transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.auth-form-social-btn:hover {
    transform: translateY(-1px);
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

.auth-form-social-btn svg,
.auth-form-social-btn img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.auth-form-social-btn--google { color: var(--text-1); }
.auth-form-social-btn--discord svg { color: #5865F2; }
.auth-form-social-btn--github svg { color: var(--text-1); }

/* ── Auth panel + card ─────────────────────────────────────── */
.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: min(100% - 48px, 620px);
    margin: 0 auto;
    padding: 36px 0;
}

.auth-card-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - 4.25rem);
    padding: 24px 16px;
}

.auth-card-shell .auth-card {
    width: min(100%, 520px);
}

.auth-user-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-hover);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
}

.auth-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 10px;
    background: var(--brand-soft-2);
    border: 1px solid var(--blue-border);
    border-radius: 14px;
    flex: 0 0 auto;
}

.auth-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-user-copy {
    min-width: 0;
}

.auth-user-copy strong {
    display: block;
    color: var(--text-1);
    font-size: 15px;
    font-weight: 780;
    line-height: 1.2;
}

.auth-user-copy span {
    display: block;
    margin-top: 4px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}

.auth-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 760;
}

.auth-back-link svg {
    width: 16px;
    height: 16px;
}

.auth-card {
    padding: 34px;
}

.auth-card form,
.auth-card > div {
    width: 100%;
    max-width: none;
}

.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card h4,
.auth-card h5,
.auth-card h6,
.auth-card .dark\:text-white {
    color: var(--text-1) !important;
}

.auth-card h5 {
    margin: 0 0 22px;
    color: var(--text-1) !important;
    font-size: 26px;
    font-weight: 840;
}

.auth-card p,
.auth-card .dark\:text-gray-300,
.auth-card .dark\:text-gray-400 {
    color: var(--text-2) !important;
}

.auth-card label {
    color: var(--text-1) !important;
}

.auth-card .w-full.justify-content-center,
.auth-card button[type="submit"],
.auth-card .btn-primary {
    width: 100%;
}

.auth-card [type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    padding: 0;
    accent-color: var(--brand);
}

.auth-card .text-gray-900,
.auth-card .dark\:text-white {
    color: var(--text-1) !important;
}

/* ── Auth form system (input fields, checkbox, submit, foot) ─ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    animation: authFormIn .55s cubic-bezier(.22, .61, .36, 1) both;
}

.auth-form--center {
    align-items: center;
    text-align: center;
}

.auth-form--success {
    align-items: stretch;
}

@keyframes authFormIn {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.auth-form-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form--center .auth-form-header {
    align-items: center;
}

.auth-form-eyebrow {
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-form-title {
    margin: 2px 0 0;
    color: var(--text-1);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 34px);
    font-weight: 820;
    letter-spacing: -.018em;
    line-height: 1.08;
}

.auth-form-subtitle {
    margin: 4px 0 0;
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 44ch;
}

.auth-form--center .auth-form-subtitle {
    max-width: 38ch;
}

.auth-form-meta {
    margin: 6px 0 0;
    color: var(--text-2);
    font-size: 13.5px;
    line-height: 1.55;
}

.auth-form-email {
    color: var(--text-1);
    font-weight: 700;
    word-break: break-all;
}

.auth-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    color: var(--brand);
    background: var(--brand-soft-2);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius-md);
}

.auth-form-icon svg {
    width: 24px;
    height: 24px;
}

:root[data-theme="dark"] .auth-form-icon {
    background: var(--blue-dim);
    border-color: var(--blue-border);
}

.auth-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .auth-field-row {
        grid-template-columns: 1fr;
    }
}

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

.auth-field-label {
    color: var(--text-1);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-field-link {
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 660;
    text-decoration: none;
    transition: color var(--transition-base);
}

.auth-field-link:hover {
    color: var(--brand-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    color: var(--text-1);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.3;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.auth-input::placeholder {
    color: var(--text-3);
    opacity: .9;
}

.auth-input:hover {
    border-color: var(--border-strong);
}

.auth-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--shadow-focus);
    background: var(--bg-elevated);
}

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

.auth-input--password {
    padding-right: 44px;
}

.auth-input-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--text-3);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color var(--transition-base), background var(--transition-base);
}

.auth-input-toggle:hover {
    color: var(--brand);
    background: var(--bg-hover);
}

.auth-input-toggle svg {
    width: 18px;
    height: 18px;
}

.auth-input-toggle .auth-input-toggle-hide {
    display: none;
}

.auth-input-wrap.is-visible .auth-input-toggle-show {
    display: none;
}

.auth-input-wrap.is-visible .auth-input-toggle-hide {
    display: block;
}

.auth-field-error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--danger);
    font-size: 12.5px;
    font-weight: 600;
}

.auth-field-error::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 2px;
    background: var(--danger);
    border-radius: 50%;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox input[type="checkbox"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.auth-checkbox-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: transparent;
    background: var(--bg-raised);
    border: 1.4px solid var(--border-strong);
    border-radius: 5px;
    transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.auth-checkbox-box svg {
    width: 12px;
    height: 12px;
}

.auth-checkbox input[type="checkbox"]:checked + .auth-checkbox-box {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.auth-checkbox input[type="checkbox"]:focus-visible + .auth-checkbox-box {
    box-shadow: var(--shadow-focus);
}

.auth-checkbox-label {
    color: var(--text-1);
    font-size: 13.5px;
    font-weight: 580;
}

.auth-form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form-actions--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.auth-form-actions--inline > * {
    flex: 1 1 auto;
}

.auth-form-submit {
    width: 100%;
    min-height: 46px;
    padding: 13px 18px;
    font-size: 14.5px;
    font-weight: 740;
    letter-spacing: -.005em;
    border-radius: var(--radius-md);
}

.auth-form-submit:hover {
    transform: translateY(-1px);
}

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

.auth-form-submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-form-submit-loading svg {
    width: 16px;
    height: 16px;
    animation: authSpin .9s linear infinite;
}

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

.auth-form-disclaimer {
    margin: 4px 0 0;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.auth-form-helper-link {
    color: var(--brand);
    font-size: 13px;
    font-weight: 660;
    text-align: center;
}

.auth-form-helper-link:hover {
    color: var(--brand-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-form-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0;
}

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

.auth-form-divider span {
    padding: 0 12px;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.auth-form-foot {
    margin: 0;
    color: var(--text-2);
    font-size: 13.5px;
    text-align: center;
}

.auth-form-foot-link {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-base);
}

.auth-form-foot-link:hover {
    color: var(--brand-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-form-foot-link--danger {
    color: var(--danger);
}

.auth-form-foot-link--danger:hover {
    color: var(--danger);
    opacity: .82;
}

.auth-form-resend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    color: var(--text-2);
    background: var(--bg-hover);
    border: 1px dashed var(--blue-border);
    border-radius: var(--radius-md);
    font-size: 13.5px;
    text-align: center;
}

.auth-form-resend-label {
    color: var(--text-2);
    font-size: 12.5px;
}

.auth-form-resend-cooldown {
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 660;
}

/* Override the legacy `.auth-card` Tailwind padding override so nothing
   crops the new layout inside the rack-card. */
.auth-card .auth-form {
    max-width: none;
}

/* Mobile polish */
@media (max-width: 720px) {
    .auth-form {
        gap: 22px;
    }

    .auth-form-title {
        font-size: 26px;
    }

    .auth-form-fields {
        gap: 14px;
    }
}

/* ── Auth responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-intro {
        display: none;
    }

    .auth-panel {
        width: min(100% - 24px, 620px);
        min-height: calc(100dvh - 4.25rem);
    }

    .auth-card {
        padding: 24px;
    }

    .auth-topbar {
        padding: 0 1rem;
    }

    .auth-topbar-back {
        padding-inline: .7rem;
    }

    .auth-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.auth-theme-root[data-theme="dark"] {
    --r-paper: #0D1117;
    --r-paper-2: #171B23;
    --r-card: #171B23;
    --r-ink: #F7F3EA;
    --r-muted: #CFC7B9;
    --r-muted-2: #90887B;
    --r-line: rgba(255, 255, 255, 0.12);
}

.auth-theme-root[data-theme="dark"] body,
.auth-theme-root[data-theme="dark"] .auth-page,
.auth-theme-root[data-theme="dark"] .auth-split,
.auth-theme-root[data-theme="dark"] .auth-left,
.auth-theme-root[data-theme="dark"] .auth-card-shell {
    background: #0D1117 !important;
}

.auth-theme-root[data-theme="dark"] .auth-topbar {
    background: rgba(13, 17, 23, .82);
    border-bottom-color: rgba(255, 255, 255, .10);
}

.auth-theme-root[data-theme="dark"] .auth-user-avatar {
    background: var(--blue-dim);
}

.auth-theme-root[data-theme="dark"] .auth-right {
    background: #080A0F;
    border-left-color: rgba(255, 255, 255, .07);
}
