* { box-sizing: border-box; }
body { margin: 0; background: #f4f5f7; color: #23262d; font: 15px/1.5 "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
.login-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 28px 20px; }
.login-container { width: 100%; max-width: 500px; }
.login-card { padding: 28px 40px 32px; background: #fff; border: 1px solid #dde3e9; border-top: 3px solid #007ca6; border-radius: 8px; box-shadow: 0 16px 48px rgba(32,38,48,.09); }
.brand-link { display: block; }
.login-logo { display: block; width: 300px; height: auto; aspect-ratio: 210 / 88; max-width: 100%; object-fit: contain; margin: 0 auto 20px; }
.login-heading { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e9edf1; text-align: center; }
h1 { font-size: 26px; font-weight: 650; line-height: 1.25; margin: 0; }
.login-field { margin-bottom: 18px; }
.login-field label { display: block; font-weight: 600; margin-bottom: 8px; }
.input-wrap { position: relative; }
.field-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 19px; color: #697580; pointer-events: none; }
.login-input { width: 100%; height: 50px; padding: 0 14px 0 43px; border: 1px solid #cdd3db; border-radius: 6px; background: #fafbfc; color: #23262d; font: inherit; font-size: 16px; }
.login-input::placeholder { color: #78818b; }
.login-input:focus { border-color: #007ca6; outline: none; box-shadow: 0 0 0 3px rgba(0,124,166,.12); }
.password-input { padding-right: 50px; }
.password-toggle { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; color: #68707b; font-size: 20px; cursor: pointer; }
.password-toggle:hover { background: #edf1f4; color: #23262d; }
.login-button { width: 100%; min-height: 50px; padding: 13px 16px; margin-top: 6px; border: 1px solid #d92720; border-radius: 6px; color: #fff; background: #df2d25; font: 600 16px/1.5 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.login-button:hover { background: #c7241d; }
.login-button:focus-visible, .password-toggle:focus-visible, .brand-link:focus-visible { outline: 3px solid #007ca6; outline-offset: 3px; }
.login-error { margin-bottom: 20px; padding: 12px; border: 1px solid #f3c8c4; border-radius: 6px; background: #fff4f3; color: #a3211b; font-size: 14px; overflow-wrap: anywhere; }
.login-error:empty { display: none; }
.login-footer { margin-top: 20px; color: #66717d; font-size: 12px; text-align: center; }
@media (max-width: 480px) { .login-page { padding: 20px 16px; } .login-card { padding: 24px; } .login-logo { width: 260px; } }
