:root {
    --primary:        #6366f1;
    --primary-dark:   #4f46e5;
    --primary-glow:   rgba(99,102,241,.15);
    --secondary:      #64748b;
    --success:        #10b981;
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --info:           #22d3ee;

    --bg:             #f4f6fb;
    --surface:        #f4f4f4;
    --surface-2:      #f8fafc;
    --border:         #e2e8f0;
    --text:           #1e293b;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;

    --sidebar-bg:     #0f172a;

    --card-radius:    14px;
    --card-shadow:    0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
    --card-shadow-h:  0 4px 20px rgba(0,0,0,.1);

    --font-body:   'DM Sans', sans-serif;
    --font-head:   'Space Grotesk', sans-serif;
    --font-mono:   'JetBrains Mono', monospace;

    --transition: .2s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
    --bg:           #0d1117;
    --surface:      #161b22;
    --surface-2:    #1c2128;
    --border:       #30363d;
    --text:         #e6edf3;
    --text-muted:   #8b949e;
    --text-light:   #6e7681;
    --card-shadow:  0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.2);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: background var(--transition), color var(--transition);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-brand-panel {
    flex: 1;
    background: var(--depot-sky-bot2);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .auth-brand-panel { display: flex; }
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        var(--depot-sky-top)  0%,
        var(--depot-sky-mid1) 25%,
        var(--depot-sky-mid2) 50%,
        var(--depot-sky-mid3) 68%,
        var(--depot-sky-bot1) 84%,
        var(--depot-sky-bot2) 100%);
    pointer-events: none;
    transition: background 0.4s ease;
    z-index: 0;
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.auth-brand-content { position: relative; z-index: 1; }

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.auth-brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 10px;
    display: grid; place-items: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(99,102,241,.5);
    flex-shrink: 0;
}

.auth-brand-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px;
}

.auth-brand-headline {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}

.auth-brand-sub {
    font-size: 15px;
    color: rgba(148,163,184,.8);
    line-height: 1.6;
    max-width: 340px;
}

.auth-brand-stats {
    display: flex;
    gap: 32px;
    position: relative; z-index: 1;
}

.auth-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-stat-value {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.auth-stat-label {
    font-size: 12px;
    color: rgba(148,163,184,.7);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.auth-float-cards {
    position: absolute;
    bottom: 130px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.auth-float-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    animation: floatCard 3s ease-in-out infinite;
}

.auth-float-card:nth-child(2) { animation-delay: 1.5s; transform: translateX(-24px); }

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

.auth-float-card:nth-child(2) {
    animation-name: floatCard2;
}
@keyframes floatCard2 {
    0%, 100% { transform: translateX(-24px) translateY(0); }
    50%       { transform: translateX(-24px) translateY(-6px); }
}

.float-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: 14px;
}

.float-icon.success { background: rgba(16,185,129,.2); color: #10b981; }
.float-icon.info    { background: rgba(34,211,238,.2); color: #22d3ee; }

.float-text strong { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.float-text small  { font-size: 11px; color: rgba(148,163,184,.7); }

.auth-form-panel {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px;
    background: var(--surface);
    position: relative;
    min-height: 100vh;
}

@media (max-width: 576px) {
    .auth-form-panel { padding: 32px 24px; }
}

.auth-theme-btn {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: grid; place-items: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    transition: all var(--transition);
}
.auth-theme-btn:hover { color: var(--primary); border-color: var(--primary); }

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 36px;
    transition: color var(--transition);
}
.auth-back-link:hover { color: var(--primary); }

.auth-header { margin-bottom: 28px; }

.auth-logo-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}
.auth-logo-inline .brand-icon-sm {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 7px;
    display: grid; place-items: center;
    color: #fff;
    font-size: 12px;
}
.auth-logo-inline .brand-name-sm {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.auth-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -.4px;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

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

.auth-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 13px;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all var(--transition);
    outline: none;
}

.auth-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.auth-input-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
    transition: color var(--transition);
}
.auth-input-toggle:hover { color: var(--primary); }

.auth-input.no-icon { padding-left: 14px; }

.auth-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-check input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.auth-forgot {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.auth-forgot:hover { text-decoration: underline; }

.btn-auth-primary {
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(99,102,241,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99,102,241,.45);
}

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

.btn-auth-secondary {
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition);
}
.btn-social:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }
.btn-social img { width: 16px; height: 16px; }

.auth-footer-text {
    text-align: center;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-link:hover { text-decoration: underline; }

.password-strength {
    margin-top: 8px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: var(--border);
    transition: background var(--transition);
}

.strength-bar.weak   { background: var(--danger); }
.strength-bar.fair   { background: var(--warning); }
.strength-bar.good   { background: var(--info); }
.strength-bar.strong { background: var(--success); }

.strength-label {
    font-size: 11px;
    color: var(--text-muted);
}

.auth-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

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

.step-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border);
    display: grid; place-items: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
    transition: all var(--transition);
}

.auth-step.active .step-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.auth-step.done .step-dot {
    background: var(--success);
    color: #fff;
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 32px;
}

.lock-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.lock-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 6px var(--primary-glow);
    object-fit: cover;
    margin-bottom: 12px;
}

.lock-username {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.lock-role {
    font-size: 13px;
    color: var(--text-muted);
}

.lock-not-you {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}
.lock-not-you:hover { text-decoration: underline; }

.otp-row {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.otp-input {
    flex: 1;
    min-width: 0;
    max-width: 44px;
    padding: 9px 4px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-align: center;
    outline: none;
    transition: all var(--transition);
}

.otp-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--primary-glow);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 9px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-info-box i { color: var(--primary); margin-top: 1px; flex-shrink: 0; }

.auth-terms {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}

.auth-terms a { color: var(--primary); text-decoration: none; }
.auth-terms a:hover { text-decoration: underline; }

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

.auth-form-panel > * {
    animation: fadeSlideUp .45s ease both;
}

.auth-form-panel .auth-back-link    { animation-delay: .05s; }
.auth-form-panel .auth-logo-inline  { animation-delay: .1s; }
.auth-form-panel .auth-header       { animation-delay: .15s; }
.auth-form-panel .auth-steps        { animation-delay: .2s; }
.auth-form-panel .auth-form         { animation-delay: .2s; }
.auth-form-panel .auth-footer-text  { animation-delay: .3s; }

@media (min-width: 992px) {
    .auth-page { justify-content: stretch; }
    .auth-form-panel {
        border-left: 1px solid var(--border);
        flex-shrink: 0;
    }
}

@media (max-width: 991px) {
    .auth-page { justify-content: center; }
    .auth-form-panel { max-width: 100%; padding: 40px 24px; }
}

#toast-container > .toast {
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
    font-family: var(--font-body);
    font-size: 13.5px;
    opacity: 1;
}
.toast-success { background: #059669; }
.toast-warning { background: #d97706; }
.toast-error   { background: #dc2626; }
.toast-info    { background: #2563eb; color: #fff; }

.depot-water {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 28%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}
.depot-water::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 18px,
        rgba(255,200,100,.04) 18px, rgba(255,200,100,.04) 20px
    );
}
.depot-water-glow {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 100%;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(180,100,20,.18) 0%, transparent 70%);
}
.depot-water-shimmer {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,200,100,.15), transparent);
    animation: depotShimmer 4s ease-in-out infinite;
}
.depot-water-shimmer:nth-child(2) { top: 35%; animation-delay: 1.5s; animation-duration: 5s; }
.depot-water-shimmer:nth-child(3) { top: 60%; animation-delay: 3s;   animation-duration: 3.5s; }
.depot-water-shimmer:nth-child(4) { top: 80%; animation-delay: 4.5s; animation-duration: 6s; }

@keyframes depotShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.depot-quay {
    position: absolute;
    bottom: 28%;
    left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--depot-quay-l), var(--depot-quay-m), var(--depot-quay-l));
    z-index: 3;
    pointer-events: none;
}

.depot-ground {
    position: absolute;
    bottom: 28%;
    left: 0; right: 0;
    height: 14px;
    background: linear-gradient(180deg, var(--depot-ground-top) 0%, var(--depot-ground-bot) 100%);
    z-index: 3;
    pointer-events: none;
    margin-top: 6px;
    top: calc(72% + 6px);
}

.depot-scene {
    position: absolute;
    bottom: 28%;
    left: 0; right: 0;
    z-index: 4;
    pointer-events: none;
    width: 100%;
    height: 360px;
}

.depot-scene .ground-base {
    fill: url(#dg-ground);
}
[data-theme="dark"] .depot-scene .ground-base {
    fill: #1c2840;
}

.depot-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.depot-fog {
    position: absolute;
    bottom: 28%;
    left: 0; right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--depot-fog-color));
    z-index: 5;
    pointer-events: none;
}

@keyframes depotBeacon {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 0.2; }
}

@keyframes depotTwinkle {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
}


:root {
    --depot-sky-top:    #4a90c4;
    --depot-sky-mid1:   #6baed6;
    --depot-sky-mid2:   #c8a07a;
    --depot-sky-mid3:   #d4855a;
    --depot-sky-bot1:   #c86e3a;
    --depot-sky-bot2:   #b85a20;

    --depot-water-top:  #5a8fb0;
    --depot-water-mid:  #3a6a8a;
    --depot-water-bot:  #2a5070;
    --depot-water-glow: rgba(120,180,220,.22);
    --depot-shimmer:    rgba(255,255,255,.18);

    --depot-quay-l:     #8a9ab0;
    --depot-quay-m:     #a0b0c8;

    --depot-ground-top: #9aabb8;
    --depot-ground-bot: #7a8a98;

    --depot-fog-color:  rgba(200,220,240,.35);

    --depot-bldg:       #2a3a5a;

    --depot-crane:      #2a3a5a;
    --depot-crane-dark: #1e2d48;
    --depot-cable:      #3a4e70;

    --depot-beacon:     #ef4444;

    --depot-sunset1:    rgba(255,160,80,.18);
    --depot-sunset2:    rgba(255,140,60,.12);
}

[data-theme="dark"] {
    --depot-sky-top:    #060d1f;
    --depot-sky-mid1:   #0d1b3e;
    --depot-sky-mid2:   #1a1040;
    --depot-sky-mid3:   #2d1060;
    --depot-sky-bot1:   #3d1545;
    --depot-sky-bot2:   #5a1a30;

    --depot-water-top:  #0d1f3c;
    --depot-water-mid:  #0a1628;
    --depot-water-bot:  #061020;
    --depot-water-glow: rgba(180,100,20,.18);
    --depot-shimmer:    rgba(255,200,100,.15);

    --depot-quay-l:     #1a2240;
    --depot-quay-m:     #2a3360;

    --depot-ground-top: #1e2a42;
    --depot-ground-bot: #131c30;

    --depot-fog-color:  rgba(10,14,26,.45);

    --depot-bldg:       #0d1428;

    --depot-crane:      #1a2540;
    --depot-crane-dark: #182240;
    --depot-cable:      #2a3c60;

    --depot-beacon:     #ef4444;

    --depot-sunset1:    rgba(255,126,42,.12);
    --depot-sunset2:    rgba(255,126,42,.08);
}

.depot-water {
    background: linear-gradient(180deg,
        var(--depot-water-top) 0%,
        var(--depot-water-mid) 60%,
        var(--depot-water-bot) 100%);
    transition: background var(--transition);
}

.depot-water-glow {
    background: radial-gradient(ellipse 60% 40% at 50% 100%,
        var(--depot-water-glow) 0%, transparent 70%);
}

.depot-water-shimmer {
    background: linear-gradient(90deg,
        transparent, var(--depot-shimmer), transparent);
}

.depot-quay {
    background: linear-gradient(90deg,
        var(--depot-quay-l), var(--depot-quay-m), var(--depot-quay-l));
    transition: background var(--transition);
}

.depot-fog {
    background: linear-gradient(180deg,
        transparent, var(--depot-fog-color));
    transition: background var(--transition);
}

.depot-scene .bldg { fill: var(--depot-bldg); }

.depot-scene .crane      { fill: var(--depot-crane); }
.depot-scene .crane-dark { fill: var(--depot-crane-dark); }
.depot-scene .crane-cab  { fill: var(--depot-crane); }
.depot-scene .cable      { stroke: var(--depot-cable); }

.depot-scene .beacon { fill: var(--depot-beacon); }

.depot-stars { opacity: 0; transition: opacity .4s ease; }
[data-theme="dark"] .depot-stars { opacity: 1; }

.depot-scene .win-light { fill: #f59e0b; opacity: 0.25; transition: opacity .4s; }
[data-theme="dark"] .depot-scene .win-light { opacity: 0.5; }

.depot-scene .sunset-1 { fill: #ff7e2a; opacity: 0.08; }
.depot-scene .sunset-2 { fill: #ff7e2a; opacity: 0.05; }
[data-theme="dark"] .depot-scene .sunset-1 { opacity: 0.12; }
[data-theme="dark"] .depot-scene .sunset-2 { opacity: 0.08; }

.auth-brand-content {
    position: relative;
    z-index: 10;
}

.auth-brand-panel::after {
    inset: unset;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,.18) 40%,
        rgba(0,0,0,.52) 100%);
    z-index: 6;
    transition: background .3s;
}

[data-theme="dark"] .auth-brand-panel::after {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,.30) 40%,
        rgba(0,0,0,.65) 100%);
}

.auth-brand-headline {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.35);
}

.auth-brand-sub {
    color: rgba(255,255,255,.92) !important;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}