* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; color: #f7f7fa; font-family: Arial, sans-serif; background: #020d1d; }
.login-box { width: min(100%, 466px); padding: 25px 39px 28px; border: 1px solid #b5bcc8; border-radius: 15px; background: linear-gradient(120deg, #07172acc, #021124a8); box-shadow: 0 20px 65px #0008, inset 0 0 35px #193d6020; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.brand { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; margin: 0 auto 26px; text-decoration: none; border-radius: 8px; }
.brand-logo { display: block; object-fit: contain; }
.brand-name { font-family: Orbitron, Arial, sans-serif; font-size: 37px; font-weight: 900; letter-spacing: 3px; line-height: 1.25; color: #e7c483; background: linear-gradient(#fff0be 12%, #cba05d 48%, #8e6831 55%, #efd395 90%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-subtitle { color: #c59b59; font-size: 12px; font-weight: 600; letter-spacing: 3.3px; margin-top: 4px; }
.brand:hover { filter: brightness(1.15); }
.input-group { display: flex; align-items: center; gap: 20px; min-height: 60px; border: 1px solid #566073; border-radius: 9px; background: #08182c70; padding: 0 17px; margin-bottom: 16px; box-shadow: inset 0 1px 2px #ffffff08; }
.input-group:focus-within { border-color: #ecc785; box-shadow: 0 0 0 3px #dfb86b20; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.input-icon { width: 23px; height: 25px; flex-shrink: 0; color: #efb743; }
.input-group input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; padding: 18px 0; }
.input-group input::placeholder { color: #a9abba; opacity: 1; }
.input-group input:autofill { box-shadow: 0 0 0 100px #122238 inset; -webkit-text-fill-color: #fff; }
button { cursor: pointer; font: inherit; }
.password-toggle { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 44px; margin-right: -10px; padding: 8px; border: 0; border-radius: 5px; color: #eef0f6; background: transparent; }
.password-toggle svg { width: 24px; height: 24px; }
.password-toggle:hover { background: #ffffff12; }
.password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.show-pass { display: flex; align-items: center; gap: 12px; margin: 2px 0 18px; width: fit-content; cursor: pointer; font-size: 15px; }
.show-pass input { width: 22px; height: 22px; margin: 0; accent-color: #dab36f; color-scheme: dark; cursor: pointer; }
.login-submit { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid #b58f4d; border-radius: 10px; color: #071426; background: linear-gradient(105deg, #a28048, #f1d395 48%, #a28048); font-weight: 700; letter-spacing: 5px; font-size: 19px; box-shadow: inset 0 1px 0 #ffe8ba55; }
.login-submit svg { width: 24px; height: 24px; }
.login-submit:hover:not(:disabled) { filter: brightness(1.12); }
.login-submit:disabled { cursor: wait; opacity: .7; }
:is(a, button, input):focus-visible { outline: 2px solid #f5d38d; outline-offset: 4px; }
.input-group input:focus-visible { outline: none; }
.error-text { min-height: 18px; margin: 12px 0 0; color: #ffb8b8; font-size: 14px; line-height: 1.4; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 480px) { body { padding: 24px 16px; } .login-box { padding: 24px; } .brand-name { font-size: 32px; } .brand-subtitle { font-size: 10px; letter-spacing: 2.8px; } .input-group { gap: 14px; } }
@media (max-height: 600px) { body { padding-block: 20px; } .brand-logo { width: 80px; height: 80px; } .brand { margin-bottom: 20px; } }
