:root { color-scheme: light; --login-navy: #111e33; --login-muted: #9baec8; --login-blue: #86b7fe; --login-mint: #74deb2; --login-gold: #f6cf73; }
* { box-sizing: border-box; }
body.login-page { margin: 0; min-height: 100vh; min-height: 100dvh; padding: 40px 28px 26px; display: flex; align-items: center; justify-content: center; background: #101c30; color: #e5edf9; font-family: "Segoe UI", Tahoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--login-blue); outline-offset: 4px; }
.login-ambient { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 5%, rgba(71,119,185,.18), transparent 48%), radial-gradient(ellipse at 8% 95%, rgba(116,222,178,.07), transparent 40%); }
.login-workspace { position: relative; width: 100%; max-width: 1040px; }
.login-tenant { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; padding: 0 5px; }
.login-tenant-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.login-tenant-logo { display: grid; place-items: center; flex: 0 0 60px; height: 60px; padding: 6px; border-radius: 17px; background: #fff; box-shadow: 0 0 0 5px rgba(169,187,211,.05); }
.login-tenant-logo img { display: block; width: 48px; height: 48px; object-fit: contain; }
.login-tenant-label { display: block; margin-bottom: 5px; color: var(--login-muted); font-size: 11px; }
.login-tenant h2 { margin: 0; max-width: 610px; font-size: 18px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.login-tenant-tag { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 12px; border: 1px solid #30435f; border-radius: 20px; color: #b6c6dc; font-size: 11px; }
.login-tenant-tag i { color: var(--login-gold); }
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) 400px; overflow: hidden; border: 1px solid #30435f; border-radius: 26px; background: #16243c; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.login-brand-panel { position: relative; min-width: 0; padding: 39px 42px 28px; background: radial-gradient(ellipse at 10% 95%, rgba(71,119,185,.13), transparent 65%), linear-gradient(140deg, #1b3153, #142239 80%); }
.login-brand-topline { display: flex; align-items: center; gap: 8px; color: #b4c3d8; font-size: 11px; margin-bottom: 19px; }
.login-brand-topline > span { width: 5px; height: 5px; border-radius: 50%; background: var(--login-gold); box-shadow: 0 0 0 4px rgba(246,207,115,.06); }
.login-brand-panel h1 { margin: 0; font-size: clamp(28px, 3.2vw, 37px); font-weight: 700; line-height: 1.65; }
.login-brand-heading { display: flex; align-items: center; gap: 24px; }
.login-brand-heading h1 { flex: 1; min-width: 0; }
.login-program-logo { display: grid; place-items: center; flex: 0 0 152px; width: 152px; height: 152px; padding: 12px; border: 1px solid rgba(246,207,115,.4); border-radius: 30px; background: #fff; box-shadow: 0 0 0 7px rgba(134,183,254,.05), 0 15px 35px rgba(0,0,0,.18); }
.login-program-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.login-program-name { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: right; font: inherit; }
.login-program-prefix { display: block; color: #d1def0; font-size: 20px; font-weight: 400; margin-bottom: 2px; }
.login-program-line { display: block; }
.program-invoices { color: var(--login-blue); }
.program-join { color: #b5c6df; font-size: .75em; font-weight: 400; }
.program-receipts { color: var(--login-mint); }
.program-electronic { display: block; color: var(--login-gold); }
.login-brand-description { margin: 13px 0 0; color: #a9bdd8; font-size: 13px; line-height: 1.95; }
.login-document-art { position: relative; height: 194px; width: 100%; max-width: 400px; margin: 18px auto 12px; }
.login-art-orbit { position: absolute; border: 1px solid rgba(134,183,254,.09); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 245px; height: 245px; top: -15px; left: 40px; }
.orbit-two { width: 180px; height: 180px; top: 16px; left: 73px; }
.login-art-card { position: absolute; width: 200px; height: 157px; padding: 15px 17px; border: 1px solid #405976; border-radius: 14px; background: linear-gradient(145deg, #294768, #1b2f4a); box-shadow: 0 16px 28px rgba(0,0,0,.16); }
.art-back { top: 12px; right: 12px; transform: rotate(9deg); background: linear-gradient(145deg, #245451, #1c383d); border-color: #3d716a; }
.art-front { top: 32px; left: 21px; transform: rotate(-7deg); }
.art-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.art-icon { display: inline-grid; place-items: center; width: 28px; height: 30px; border-radius: 7px; background: rgba(134,183,254,.13); color: var(--login-blue); font-size: 15px; }
.art-back .art-icon { background: rgba(116,222,178,.12); color: var(--login-mint); }
.art-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px; border-radius: 5px; background: rgba(116,222,178,.07); color: #a7e9cb; font-size: 7px; }
.art-label { display: block; margin: 10px 0; color: #e3edfa; font-size: 11px; font-weight: 600; }
.art-lines { display: grid; gap: 6px; }
.art-lines span { display: block; height: 3px; border-radius: 3px; background: rgba(159,189,224,.2); }
.art-lines span:nth-child(2) { width: 75%; }
.art-lines span:nth-child(3) { width: 55%; }
.art-card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: 11px; border-top: 1px solid rgba(169,187,211,.12); }
.art-card-bottom > span { width: 52px; height: 5px; border-radius: 3px; background: rgba(246,207,115,.55); }
.art-card-bottom i { color: var(--login-gold); font-size: 13px; }
.login-art-spark { position: absolute; width: 6px; height: 6px; transform: rotate(45deg); border-radius: 1px; background: var(--login-gold); }
.spark-one { left: 7px; top: 27px; opacity: .7; }
.spark-two { right: 29px; bottom: 12px; width: 4px; height: 4px; background: var(--login-mint); }
.login-feature-list { position: relative; display: flex; gap: 9px; justify-content: center; padding-top: 15px; border-top: 1px solid rgba(169,187,211,.12); }
.login-feature-list span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(134,183,254,.15); border-radius: 8px; color: #c6d7ef; font-size: 11px; background: rgba(134,183,254,.035); }
.login-feature-list i { color: var(--login-blue); }
.login-feature-list span:nth-child(2) i { color: var(--login-mint); }
.login-feature-list span:nth-child(3) i { color: var(--login-gold); }
.login-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 39px 35px 31px; background: #f8fafc; color: #24344d; }
.login-key-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border: 1px solid #e7dec5; border-radius: 13px; background: #f4efdf; color: #9a7932; font-size: 18px; }
.login-form-eyebrow { font-size: 10px; color: #7b8ba0; }
.login-form-heading h2 { margin: 7px 0 6px; color: #16243c; font-size: 27px; font-weight: 700; }
.login-form-heading > p { margin: 0 0 27px; color: #708097; font-size: 12px; line-height: 1.8; }
.login-field { margin-bottom: 20px; }
.login-field > label { display: block; margin-bottom: 9px; color: #40516a; font-size: 12px; font-weight: 600; }
.login-input-wrap { position: relative; }
.login-input-wrap input { display: block; width: 100%; min-height: 49px; padding: 12px 41px 12px 43px; border: 1px solid #dbe3ed; border-radius: 10px; outline: none; color: #24344d; background: #fff; font-size: 13px; text-align: right; transition: border-color .15s ease, box-shadow .15s ease; }
.login-input-wrap input::placeholder { color: #9aa8bb; }
.login-input-wrap input:focus { border-color: #5e8ac6; box-shadow: 0 0 0 3px rgba(94,138,198,.12); }
.login-input-wrap input:is(:autofill, :-webkit-autofill) { -webkit-text-fill-color: #24344d; caret-color: #24344d; box-shadow: 0 0 0 1000px #fff inset; }
.login-input-wrap input:is(:autofill, :-webkit-autofill):focus { box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(94,138,198,.12); }
.login-input-wrap input[aria-invalid="true"] { border-color: #d27474; }
.login-input-icon { position: absolute; top: 18px; right: 16px; color: #8597b1; font-size: 13px; pointer-events: none; }
.login-password-toggle { position: absolute; top: 4px; bottom: 4px; left: 5px; width: 38px; padding: 0; border: 0; border-radius: 7px; background: none; color: #8394ad; font-size: 14px; }
.login-password-toggle:hover { color: #1e4f9b; background: #edf4ff; }
.login-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 49px; margin-top: 26px; padding: 13px 18px; border: 1px solid #1b3153; border-radius: 10px; background: linear-gradient(110deg, #111e33, #244369); box-shadow: 0 5px 14px rgba(22,36,60,.14); color: #f4f8ff; font-size: 13px; font-weight: 600; transition: background .15s ease, box-shadow .15s ease; }
.login-submit:hover { background: #244369; box-shadow: 0 7px 18px rgba(22,36,60,.2); }
.login-submit > i { font-size: 12px; color: #b7d5ff; }
.login-form-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; padding-top: 19px; border-top: 1px solid #e4eaf2; color: #8b99ac; font-size: 10px; }
.login-form-note > i { color: #9caac0; }
.login-alert { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 19px; padding: 11px 12px; border: 1px solid #efd7d7; border-radius: 8px; background: #fff1f1; color: #a64545; font-size: 12px; line-height: 1.7; }
.login-alert > i { margin-top: 4px; }
.login-field-error { margin: 7px 0 0; color: #b65353; font-size: 11px; line-height: 1.7; }
.login-caps-lock { margin: 7px 0 0; color: #9a7932; font-size: 10px; }
.login-caps-lock[hidden] { display: none; }
.login-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 20px; padding: 0 5px; font-size: 10px; color: #8094b0; }
.login-footer button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; border: 0; background: none; color: #9baec8; font-size: 10px; }
.login-footer button:hover { color: #d6e7ff; }
.login-footer strong { color: #b8cbe6; font-weight: 600; }
.login-footer button > i:first-child { color: var(--login-gold); font-size: 10px; }
.login-footer button > i:last-child { margin-left: 3px; color: #7c94b7; font-size: 8px; transform: rotate(45deg); }
.login-developer-dialog { position: fixed; inset: 0; width: 385px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); margin: auto; padding: 32px 25px 25px; overflow-y: auto; border: 1px solid #3a5171; border-radius: 20px; background: linear-gradient(145deg, #1b3153, #111e33); color: #dbe5f3; text-align: center; box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.login-developer-dialog::backdrop { background: rgba(8,16,28,.75); backdrop-filter: blur(5px); }
.login-dialog-close { position: absolute; top: 12px; left: 12px; width: 29px; height: 29px; border: 1px solid #425675; border-radius: 8px; background: rgba(255,255,255,.04); color: #a9bbd3; }
.login-developer-monogram { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 1px solid #45617f; border-radius: 19px; background: rgba(134,183,254,.09); color: var(--login-gold); font-size: 24px; font-weight: 700; }
.login-developer-label { color: var(--login-muted); font-size: 8px; letter-spacing: 2px; }
.login-developer-dialog h2 { margin: 10px 0 6px; color: #f4f8ff; font-size: 25px; }
.login-developer-dialog > p { margin: 0 0 24px; color: var(--login-muted); font-size: 12px; }
.login-developer-dialog > a { display: flex; align-items: center; gap: 12px; padding: 13px; margin-top: 8px; border: 1px solid #344d6c; border-radius: 10px; background: rgba(134,183,254,.04); color: #c8dbf5; text-decoration: none; font-size: 13px; }
.login-developer-dialog > a:hover { background: rgba(134,183,254,.1); }
.login-developer-dialog > a > i:first-child { color: var(--login-gold); font-size: 13px; }
.login-developer-dialog > a > i:last-child { margin-right: auto; color: var(--login-muted); font-size: 11px; }
@media (max-width: 900px) { .login-shell { grid-template-columns: minmax(0, 1fr) 360px; } .login-brand-panel { padding: 32px 28px 24px; } .login-form-panel { padding: 34px 28px; } .login-brand-panel h1 { font-size: 28px; } .login-tenant-tag { display: none; } .login-document-art { transform: scale(.9); transform-origin: center; } }
@media (max-width: 700px) { body.login-page { padding: 27px 20px 20px; align-items: flex-start; } .login-workspace { max-width: 480px; } .login-tenant { margin-bottom: 20px; } .login-tenant h2 { font-size: 14px; line-height: 1.8; } .login-tenant-label { font-size: 9px; } .login-tenant-logo { flex-basis: 49px; height: 49px; border-radius: 13px; } .login-tenant-logo img { width: 39px; height: 39px; } .login-shell { grid-template-columns: 1fr; border-radius: 20px; } .login-brand-panel { padding: 25px 28px 24px; } .login-brand-topline { margin-bottom: 12px; font-size: 10px; } .login-program-prefix { font-size: 14px; margin: 0; } .login-brand-panel h1 { font-size: 28px; line-height: 1.65; } .program-electronic { font-size: 24px; } .login-brand-description { font-size: 11px; margin-top: 9px; } .login-document-art { display: none; } .login-feature-list { justify-content: flex-start; margin-top: 17px; padding-top: 13px; } .login-feature-list span { padding: 6px 10px; font-size: 10px; } .login-form-panel { padding: 27px 28px; } .login-key-icon { display: none; } .login-form-heading h2 { font-size: 24px; } .login-form-heading > p { margin-bottom: 22px; } .login-form-note { margin-top: 21px; } .login-footer { font-size: 9px; flex-wrap: wrap; margin-top: 15px; } }
@media (max-width: 380px) { body.login-page { padding-inline: 14px; } .login-brand-panel, .login-form-panel { padding-inline: 22px; } .login-brand-panel h1 { font-size: 25px; } .login-tenant-brand { gap: 11px; } .login-footer { justify-content: center; } }
@media (min-width: 701px) and (max-width: 900px) { .login-brand-heading { flex-direction: column-reverse; align-items: flex-start; gap: 20px; } .login-program-logo { flex-basis: auto; width: 116px; height: 116px; padding: 10px; border-radius: 24px; } .login-brand-heading h1 { flex: auto; width: 100%; } }
@media (max-width: 700px) { .login-brand-heading { gap: 16px; } .login-program-logo { flex-basis: 96px; width: 96px; height: 96px; padding: 9px; border-radius: 22px; } }
@media (max-width: 380px) { .login-brand-heading { gap: 12px; } .login-program-logo { flex-basis: 80px; width: 80px; height: 80px; padding: 7px; border-radius: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
