:root { color-scheme: light; font-family: Tahoma, "Segoe UI", sans-serif; color: #213a32; background: #182d2b; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0%, #355447 0%, transparent 65%), #182d2b; line-height: 1.8; }
button, input { font: inherit; }
.login-shell { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.login-card { width: 100%; max-width: 420px; min-width: 0; padding: 32px 24px; background: #fafbf7; border: 1px solid #ffffff40; border-radius: 26px; box-shadow: 0 24px 70px #061b2440; }
.brand-mark { margin: 0 auto; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; direction: ltr; background: #d8eeb9; color: #254c3b; border-radius: 17px; font: 800 36px/1 "Segoe UI", sans-serif; }
.brand-mark span { color: #689552; }
.brand-name { margin: 12px 0 24px; color: #7c8a7e; text-align: center; font: 600 13px/1.6 "Segoe UI", sans-serif; letter-spacing: .3px; }
h1 { margin: 0 0 28px; text-align: center; font-size: 24px; }
.field { margin-bottom: 22px; }
.field > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.field input { display: block; width: 100%; min-width: 0; min-height: 56px; padding: 13px 14px; border: 1px solid #dce3d7; border-radius: 12px; background: #fff; color: #263d32; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #8c978c; font-size: 12px; }
.field input:focus { border-color: #638467; box-shadow: 0 0 0 3px #63846720; }
.field input.input-validation-error { border-color: #b94d43; }
.password-wrap { position: relative; }
.password-wrap input { padding-left: 68px; }
.password-toggle { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); min-width: 56px; min-height: 48px; padding: 8px; border: 0; background: transparent; color: #45694f; border-radius: 8px; font-size: 11px; cursor: pointer; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 56px; margin-top: 30px; border: 0; border-radius: 12px; background: #264c3c; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; touch-action: manipulation; transition: background .15s; }
.submit-button span { font-size: 22px; font-weight: 400; }
.submit-button:active { background: #153b2a; }
button:focus-visible { outline: 3px solid #8aad6b; outline-offset: 3px; }
.field-error { display: block; margin-top: 6px; color: #a13b33; font-size: 12px; overflow-wrap: anywhere; }
.validation-summary-valid { display: none; }
.validation-summary ul { margin: 0 0 22px; padding: 12px 28px 12px 12px; border: 1px solid #efd0c9; border-radius: 12px; background: #fff0eb; color: #a24136; font-size: 12px; }
@media (max-width: 360px) { .login-shell { padding-inline: 12px; } .login-card { padding: 26px 18px; border-radius: 22px; } }
@media (max-height: 600px) { .login-shell { align-items: flex-start; } .login-card { padding-block: 22px; } .brand-mark { width: 44px; height: 44px; font-size: 30px; } .brand-name { margin-bottom: 14px; } h1 { margin-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
