:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; background: #173f2a; }
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body { display: flex; min-width: 0; min-height: 100vh; min-height: 100dvh; align-items: center; justify-content: center; margin: 0; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: linear-gradient(160deg, #173f2a, #1f5e3b); font-family: "Segoe UI", Arial, sans-serif; }
.login-box { width: 100%; max-width: 420px; padding: clamp(24px, 8vw, 36px); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); text-align: center; }
.login-box h2 { margin: 0 0 24px; color: #1f5e3b; font-size: clamp(24px, 8vw, 32px); }
.login-box input { width: 100%; min-height: 52px; margin-bottom: 14px; padding: 13px 15px; border: 1px solid #c7d3cc; border-radius: 11px; outline: none; font: inherit; font-size: 16px; }
.login-box input:focus { border-color: #1f5e3b; box-shadow: 0 0 0 3px rgba(31, 94, 59, 0.14); }
.login-box button { width: 100%; min-height: 52px; padding: 13px; border: 0; border-radius: 11px; background: #1f5e3b; color: #fff; font: inherit; font-weight: 800; -webkit-tap-highlight-color: transparent; }
.login-error { margin: 0 0 16px; padding: 11px; border-radius: 9px; background: #fff1f0; color: #b42318; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-height: 500px) and (orientation: landscape) { body { align-items: flex-start; } .login-box { padding-block: 18px; } .login-box h2 { margin-bottom: 14px; font-size: 23px; } }
