:root { color-scheme: light; font-family: Arial, sans-serif; color: #080b1a; background: #080b1a; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-page { min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 16px 24px 24px; gap: 12px; }
.logo { display: block; width: 250px; max-width: 80vw; height: auto; }
.login-card { width: 380px; max-width: 100%; margin: 0; padding: 24px; border-radius: 14px; background: #fff; }
.field + .field { margin-top: 18px; }
label { display: block; font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
input:not([type=hidden]) { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #d7d7d7; border-radius: 3px; background: #fafafa; color: #080b1a; font-size: 16px; outline-offset: 3px; box-shadow: inset 0 0 0 1px #eee6; }
input:focus-visible, button:focus-visible { outline: 3px solid #c10000; outline-offset: 3px; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-toggle { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #080b1a; }
.password-toggle:hover { background: #fff1f1; color: #900000; }
.eye { position: relative; display: block; width: 24px; height: 15px; border: 2px solid currentColor; border-radius: 70% 20%;  }
.eye::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; top: 1.5px; left: 6px; }
.password-toggle[aria-pressed=true]::after { content: ""; position: absolute; width: 29px; height: 2px; background: currentColor; transform: rotate(-45deg); box-shadow: 0 0 0 2px #fafafa; }
.actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.submit { min-width: 96px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 0; color: #fff; background: #080b1a; font-size: 16px; font-weight: 600; }
.submit:hover { background: #900000; }
.error { margin: 0 0 24px; padding: 12px 14px; border-left: 3px solid #c10000; color: #970000; background: #fff1f1; font-size: 16px; line-height: 1.5; }
@media (max-width: 540px) {
  .login-page { padding: 12px 20px 24px; gap: 8px; }
  .login-card { border-radius: 13px; }
}
