/* D1LEGACY_SYSTEMS v1.6.11 - Login Experience */
:root {
    --vo-login-bg: #0b0e11;
    --vo-login-panel: #0f1318;
    --vo-login-surface: #12171c;
    --vo-login-surface-raised: #171d24;
    --vo-login-text: #e9edf2;
    --vo-login-muted: #9aa6b2;
    --vo-login-gold: #d8b634;
    --vo-login-gold-soft: #f1cf4b;
    --vo-login-line: rgba(216, 182, 52, .22);
    --vo-login-line-soft: rgba(255,255,255,.09);
}

html, body.vo-login-page { min-height: 100%; }
body.vo-login-page {
    margin: 0;
    min-height: 100vh;
    background: var(--vo-login-bg) !important;
    color: var(--vo-login-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    overflow: hidden;
}

body.vo-login-page .vo-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
    background: #0b0e11;
}

.vo-login-panel { position: relative; min-width: 0; }
.vo-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
    background:
        radial-gradient(circle at 15% 15%, rgba(216,182,52,.045), transparent 22rem),
        linear-gradient(145deg, #101419 0%, #0b0e11 70%);
}

.vo-login-form-wrap { width: min(100%, 620px); }
.vo-login-mobile-brand { display: none; }

.vo-login-heading { margin-bottom: 2rem; }
.vo-login-eyebrow {
    display: inline-flex;
    margin-bottom: .7rem;
    color: var(--vo-login-gold-soft);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.vo-login-heading h1 {
    margin: 0;
    color: #f7f8fa;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 720;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.vo-login-heading p {
    margin: .75rem 0 0;
    color: var(--vo-login-muted);
    font-size: .93rem;
    line-height: 1.65;
    letter-spacing: .02em;
}

.vo-login-form { margin-top: 1.6rem; }
.vo-login-field { margin-bottom: 1.15rem; }
.vo-login-field .form-label,
.vo-login-label-row label {
    margin-bottom: .45rem;
    color: #cbd3dc;
    font-size: .76rem;
    font-weight: 650;
}
.vo-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.vo-login-label-row a,
.vo-login-register a {
    color: var(--vo-login-gold-soft) !important;
    font-size: .76rem;
    font-weight: 650;
    text-decoration: none;
}
.vo-login-label-row a:hover,
.vo-login-register a:hover { text-decoration: none; }

.vo-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    border: 1px solid var(--vo-login-line-soft);
    border-radius: .75rem;
    background: rgba(255,255,255,.025);
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.vo-input-shell:focus-within {
    border-color: rgba(216,182,52,.78);
    background: rgba(216,182,52,.035);
    box-shadow: 0 0 0 3px rgba(216,182,52,.10);
}
.vo-input-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    flex: 0 0 48px;
    color: #7f8994;
    font-size: .9rem;
}
.vo-input-shell .form-control {
    height: 48px !important;
    min-height: 48px;
    padding: .75rem .8rem .75rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f2f4f7 !important;
    box-shadow: none !important;
    font-size: .93rem;
}
.vo-input-shell .form-control::placeholder { color: #68737e; }
.vo-password-shell .form-control { padding-right: .25rem !important; }
.vo-password-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0;
    background: transparent;
    color: #8a949e;
    cursor: pointer;
}
.vo-password-toggle:hover,
.vo-password-toggle:focus-visible { color: var(--vo-login-gold-soft); outline: none; }

.vo-caps-lock {
    display: none;
    margin-top: .42rem;
    color: #f0c96a;
    font-size: .72rem;
}
.vo-caps-lock.is-visible { display: block; }

.vo-login-submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: 100%;
    min-height: 50px;
    margin-top: 1.45rem;
    border: 1px solid #e3c64f !important;
    border-radius: .72rem !important;
    background: linear-gradient(90deg, #c89b2f 0%, #f4df83 48%, #c89425 100%) !important;
    color: #16140b !important;
    box-shadow: 0 10px 28px rgba(216,182,52,.12) !important;
    font-size: .8rem !important;
    font-weight: 800 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.vo-login-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 14px 34px rgba(216,182,52,.18) !important;
}
.vo-login-submit:disabled { opacity: .72; cursor: wait; }
.vo-login-submit-icon { font-size: .78rem; }

.vo-login-register {
    margin: 1.35rem 0 0;
    color: #87919c;
    text-align: center;
    font-size: .8rem;
}
.vo-login-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem 1.25rem;
    margin-top: 1.5rem;
    color: #66717d;
    font-size: .68rem;
}
.vo-login-trust i { margin-right: .35rem; color: #927a2d; }

.vo-login-notice {
    margin: -1rem 0 1.25rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: .7rem;
    background: rgba(255,255,255,.035);
    color: #cbd3dc;
    font-size: .78rem;
}
.vo-login-notice-warning { border-color: rgba(241,207,75,.25); background: rgba(241,207,75,.06); }
.vo-login-notice-success { border-color: rgba(65,196,128,.25); background: rgba(65,196,128,.06); }

.vo-login-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-left: 1px solid rgba(216,182,52,.20);
    background:
        radial-gradient(circle at 50% 45%, rgba(216,182,52,.09), transparent 28rem),
        linear-gradient(155deg, #0d0f10 0%, #090b0d 100%);
}
.vo-login-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(216,182,52,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216,182,52,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}
.vo-login-brand-glow {
    position: absolute;
    width: min(44vw, 720px);
    aspect-ratio: 1;
    border: 1px solid rgba(216,182,52,.10);
    border-radius: 50%;
    box-shadow: 0 0 0 76px rgba(216,182,52,.018), 0 0 0 150px rgba(216,182,52,.01);
}
.vo-login-brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(78%, 720px);
}
.vo-login-main-logo {
    display: block;
    width: min(100%, 620px);
    max-height: 72vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.48));
}
.vo-login-brand-caption {
    margin-top: -1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.vo-login-brand-caption span {
    display: block;
    color: #888f95;
    font-size: .62rem;
}
.vo-login-brand-caption strong {
    display: block;
    margin-top: .35rem;
    color: #d3b348;
    font-size: .68rem;
    font-weight: 700;
}
.vo-login-brand-footer {
    position: absolute;
    right: 2rem;
    bottom: 1.4rem;
    color: #5e5540;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .24em;
}

@media (max-width: 991.98px) {
    body.vo-login-page { overflow-y: auto; }
    body.vo-login-page .vo-login-shell { grid-template-columns: 1fr; }
    .vo-login-brand-panel { display: none; }
    .vo-login-form-panel { min-height: 100vh; padding: 2.2rem 1.5rem; }
    .vo-login-form-wrap { width: min(100%, 540px); }
    .vo-login-mobile-brand { display: flex; justify-content: center; margin-bottom: 1.1rem; }
    .vo-login-mobile-brand img { width: min(250px, 70vw); height: auto; object-fit: contain; }
    .vo-login-heading { text-align: center; }
    .vo-login-eyebrow { justify-content: center; }
}

@media (max-width: 575.98px) {
    .vo-login-form-panel { padding: 1.1rem .95rem; align-items: center; }
    .vo-login-mobile-brand img { width: min(220px, 68vw); }
    .vo-login-heading { margin-bottom: 1.45rem; }
    .vo-login-heading h1 { font-size: 2rem; }
    .vo-login-heading p { font-size: .82rem; }
    .vo-input-shell, .vo-login-submit { min-height: 48px; }
    .vo-login-trust { gap: .45rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .vo-input-shell, .vo-login-submit { transition: none !important; }
}

/* D1LEGACY_SYSTEMS v1.6.12 - seamless auth controls + browser autofill hardening */
body.vo-login-page .vo-input-shell {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .78rem;
    background: #11161c;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}
body.vo-login-page .vo-input-shell::before,
body.vo-login-page .vo-input-shell::after { display: none !important; content: none !important; }
body.vo-login-page .vo-input-icon {
    width: 48px;
    flex: 0 0 48px;
    border: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    color: #8e9aa6;
}
body.vo-login-page .vo-input-shell .form-control,
body.vo-login-page .vo-input-shell input.form-control {
    width: 100%;
    height: 50px !important;
    min-height: 50px;
    margin: 0 !important;
    padding: .78rem .9rem .78rem 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #f2f5f8 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}
body.vo-login-page .vo-password-toggle {
    border: 0 !important;
    border-left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.vo-login-page .vo-input-shell:focus-within {
    border-color: rgba(216,182,52,.82);
    background: #121820;
    box-shadow: 0 0 0 3px rgba(216,182,52,.11), inset 0 1px 0 rgba(255,255,255,.02);
}

/* Prevent Chrome/Edge/Safari autofill from painting a white rectangle inside the unified field. */
body.vo-login-page input.form-control:-webkit-autofill,
body.vo-login-page input.form-control:-webkit-autofill:hover,
body.vo-login-page input.form-control:-webkit-autofill:focus,
body.vo-login-page input.form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #f2f5f8 !important;
    caret-color: #f2f5f8 !important;
    -webkit-box-shadow: 0 0 0 1000px #11161c inset !important;
    box-shadow: 0 0 0 1000px #11161c inset !important;
    border: 0 !important;
    transition: background-color 99999s ease-out 0s;
}
body.vo-login-page .vo-input-shell:focus-within input.form-control:-webkit-autofill,
body.vo-login-page .vo-input-shell:focus-within input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #121820 inset !important;
    box-shadow: 0 0 0 1000px #121820 inset !important;
}
body.vo-login-page input.form-control:autofill {
    background: #11161c !important;
    color: #f2f5f8 !important;
}

/* Recovery pages share the same restrained private-office presentation. */
.vo-recovery-page .vo-login-form-wrap { width: min(100%, 610px); }
.vo-recovery-page .vo-login-register { margin-top: 1.25rem; }
.vo-recovery-page .vo-login-submit { text-decoration: none !important; }
.vo-recovery-page .vo-login-notice { margin-top: -.35rem; }

/* v1.6.61 — canonical link styling: links never use underlines. */
a, a:link, a:visited, a:hover, a:focus, a:focus-visible, a:active {
    text-decoration: none !important;
}

/* D1LEGACY SYSTEMS v1.3.7 — Login/auth visual hardening */
body.vo-login-page{min-height:100dvh!important;background:#090c10!important;overflow:auto!important}
body.vo-login-page .vo-login-shell{min-height:100dvh;grid-template-columns:minmax(420px,46%) minmax(0,54%)}
body.vo-login-page .vo-login-form-panel{padding:clamp(1.25rem,4vw,4.5rem);min-width:0}
body.vo-login-page .vo-login-form-wrap{width:min(100%,520px);padding:clamp(1.35rem,2.7vw,2.2rem);border:1px solid rgba(255,255,255,.085);border-radius:1.35rem;background:linear-gradient(145deg,rgba(20,26,33,.96),rgba(13,17,22,.96));box-shadow:0 1.35rem 4rem rgba(0,0,0,.24)}
body.vo-login-page .vo-login-heading{margin-bottom:1.6rem}
body.vo-login-page .vo-login-heading h1{font-size:clamp(2rem,3.3vw,3rem)}
body.vo-login-page .vo-login-form{margin-top:1.35rem}
body.vo-login-page .vo-login-field{margin-bottom:1rem}
body.vo-login-page .vo-input-shell{min-height:52px;border-radius:.82rem}
body.vo-login-page .vo-input-shell .form-control{height:50px!important;min-height:50px;font-size:.94rem}
body.vo-login-page .vo-login-submit{min-height:52px;margin-top:1.25rem;border-radius:.82rem!important}
body.vo-login-page .vo-login-register{margin-top:1.15rem}
body.vo-login-page .vo-login-trust{margin-top:1.25rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.055)}
body.vo-login-page .vo-login-brand-panel{min-width:0}
body.vo-login-page .vo-login-brand-content{width:min(78%,660px)}
body.vo-login-page .d1-brand-lockup{display:flex;align-items:center;gap:.85rem;color:#f5f7f9}
body.vo-login-page .d1-brand-lockup--center{flex-direction:column;text-align:center;gap:1rem}
body.vo-login-page .d1-brand-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:1.25rem;border:1px solid rgba(216,182,52,.42);background:linear-gradient(145deg,rgba(216,182,52,.19),rgba(216,182,52,.035));color:#f1cf4b;font-size:1.15rem;font-weight:900;letter-spacing:.08em;box-shadow:0 1rem 3rem rgba(216,182,52,.08)}
body.vo-login-page .d1-brand-name{font-size:clamp(1rem,1.8vw,1.35rem);font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.vo-login-page .d1-brand-subtitle{display:block;margin-top:.25rem;color:#8e99a4;font-size:.64rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
body.vo-login-page .d1-brand-lockup--hero .d1-brand-symbol{width:112px;height:112px;border-radius:1.7rem;font-size:1.6rem}
body.vo-login-page .d1-brand-lockup--hero .d1-brand-name{font-size:clamp(1.45rem,2.5vw,2.25rem);letter-spacing:.14em}
body.vo-login-page .vo-login-mobile-brand{display:none}
body.vo-login-page .vo-login-brand-caption{margin-top:1.3rem}
body.vo-login-page .vo-login-brand-caption strong{font-size:.72rem}
@media(max-width:991.98px){
 body.vo-login-page .vo-login-shell{grid-template-columns:1fr}
 body.vo-login-page .vo-login-form-panel{min-height:100dvh;padding:clamp(1rem,4vw,2rem)}
 body.vo-login-page .vo-login-form-wrap{width:min(100%,540px)}
 body.vo-login-page .vo-login-mobile-brand{display:flex;justify-content:center;margin-bottom:1.35rem}
 body.vo-login-page .vo-login-mobile-brand .d1-brand-symbol{width:54px;height:54px;border-radius:1rem}
 body.vo-login-page .vo-login-mobile-brand .d1-brand-name{font-size:1rem}
}
@media(max-width:575.98px){
 body.vo-login-page .vo-login-form-panel{padding:.65rem}
 body.vo-login-page .vo-login-form-wrap{padding:1.15rem;border-radius:1rem}
 body.vo-login-page .vo-login-heading{text-align:left;margin-bottom:1.25rem}
 body.vo-login-page .vo-login-heading h1{font-size:1.9rem}
 body.vo-login-page .vo-login-trust{justify-content:flex-start;gap:.5rem .85rem}
 body.vo-login-page .vo-login-label-row{align-items:flex-end}
}

