:root { color-scheme: dark; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e9edf4; background: #111217; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; min-height: 100svh; }
.auth-page { display: grid; grid-template-rows: 1fr auto; position: relative; isolation: isolate; background: radial-gradient(ellipse at 22% 25%, #33416b66 0%, transparent 43%), radial-gradient(ellipse at 78% 67%, #84473540 0%, transparent 43%), #111217; }
.auth-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 40% 90%, #58377b33, transparent 48%); }
.auth-main { display: flex; justify-content: center; align-items: center; padding: 64px 0 32px; }
.auth-card { width: calc(100% - 32px); max-width: 478px; padding: 32px 31px 36px; background: #17191ee6; border: 1px solid #ffffff1c; border-radius: 5px; box-shadow: 0 24px 100px #0005; }
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-logo { display: block; width: 100px; height: 100px; object-fit: contain; margin: 0 auto 22px; border-radius: 13px; }
.auth-brand h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.65px; }
.auth-brand p { margin: 0; color: #a8afbd; font-size: 14px; line-height: 1.5; }
.auth-form { display: grid; gap: 20px; }
.auth-field { display: grid; gap: 8px; }
.auth-field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.auth-field input { display: block; width: 100%; min-height: 42px; padding: 9px 12px; color: #e9edf4; background: #101116; border: 1px solid #464b56; border-radius: 3px; font: inherit; font-size: 15px; transition: border-color .12s, box-shadow .12s; }
.auth-field input:hover { border-color: #777e8b; }
.auth-field input:focus { outline: 2px solid transparent; border-color: #6cafff; box-shadow: 0 0 0 2px #3d8ff94d; }
.auth-field input:autofill { box-shadow: 0 0 0 1000px #1c2b40 inset; -webkit-text-fill-color: #edf3ff; }
.auth-show-password { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #bec5d0; width: fit-content; cursor: pointer; margin-top: -6px; }
.auth-show-password input { width: 16px; height: 16px; margin: 0; accent-color: #4c98f5; }
.auth-submit, .auth-retry { border: 1px solid #5ba2fb; border-radius: 3px; min-height: 42px; padding: 9px 15px; background: #3479cf; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.auth-submit { width: 100%; margin-top: 2px; }
.auth-submit:hover, .auth-retry:hover { background: #438be5; }
.auth-submit:disabled { cursor: wait; opacity: .55; }
.auth-submit:focus-visible, .auth-retry:focus-visible, .auth-show-password input:focus-visible { outline: 2px solid #a9d3ff; outline-offset: 3px; }
.auth-message { color: #ffb9b8; background: #8d34342b; border: 1px solid #d55c5c70; border-radius: 3px; font-size: 13px; line-height: 1.6; padding: 10px 12px; margin: 0 0 20px; overflow-wrap: anywhere; }
.auth-retry { margin-top: 12px; background: transparent; border-color: #64748d; }
.auth-note { margin: 22px 0 0; color: #9ba4b4; font-size: 12px; line-height: 1.6; }
.auth-footer { padding: 20px 16px 26px; text-align: center; color: #7c8494; font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .auth-main { padding-top: 24px; padding-bottom: 12px; } .auth-card { padding: 26px 23px 30px; } .auth-logo { width: 60px; height: 60px; border-radius: 9px; margin-bottom: 18px; } .auth-brand h1 { font-size: 22px; letter-spacing: -.2px; } .auth-brand { margin-bottom: 28px; } .auth-footer { padding-bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
