* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; color: #263247; background: #f5f6fa; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.login-brand { background: linear-gradient(145deg, #420909, #791313); color: #fff; padding: clamp(32px, 6vw, 90px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.brand-logo { width: 190px; max-width: 100%; background: #fff; padding: 12px 16px; border-radius: 10px; }
.eyebrow { display: block; font-size: .75rem; letter-spacing: .16em; font-weight: 700; color: #941f1f; }
.login-brand .eyebrow { color: #edca7d; }
h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 20px 0; }
.login-brand p { color: #ecd7d7; font-size: 1.05rem; max-width: 380px; line-height: 1.75; }
.brand-footer { font-size: .8rem; color: #d8baba; }
.login-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; }
.login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e3e6ee; border-radius: 16px; padding: 36px; box-shadow: 0 12px 40px #26324708; }
h2 { font-size: 1.75rem; letter-spacing: -.025em; margin: 12px 0; }
.intro { color: #69768b; font-size: .95rem; line-height: 1.6; margin-bottom: 28px; }
label { display: block; font-weight: 600; font-size: .88rem; margin: 20px 0 8px; }
input { width: 100%; min-height: 48px; border: 1px solid #ccd4e0; border-radius: 7px; padding: 12px 14px; font: inherit; color: #263247; background: #fff; }
input:focus { border-color: #8b1919; outline: 3px solid #8b191918; }
input::placeholder { color: #8791a3; font-size: .9rem; }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-field button { position: absolute; right: 8px; top: 8px; height: 32px; border: 0; border-radius: 4px; background: #f1f3f7; color: #536078; padding: 0 10px; cursor: pointer; }
.sign-in { width: 100%; margin-top: 28px; padding: 14px; border: 0; border-radius: 7px; background: #851616; color: #fff; font: inherit; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.sign-in:hover { background: #641010; }
button:focus-visible { outline: 3px solid #c58d26; outline-offset: 3px; }
.access-help { text-align: center; font-size: .85rem; line-height: 1.6; color: #69768b; margin: 24px 0 0; }
.copyright { color: #7f899a; font-size: .75rem; text-align: center; margin-top: 28px; }
.error, .success { padding: 12px 14px; border-radius: 7px; font-size: .9rem; margin-bottom: 16px; line-height: 1.5; }
.error { background: #fff0ef; color: #a12828; border: 1px solid #f2cccc; }
.success { background: #edf8f1; color: #226542; border: 1px solid #c8e7d2; }
@media (max-width: 767px) {
 .login-shell { grid-template-columns: 1fr; }
 .login-brand { padding: 24px; gap: 24px; }
 .brand-logo { width: 150px; }
 .login-brand h1 { font-size: 2rem; }
 .login-brand p, .brand-footer { display: none; }
 .login-panel { padding: 28px 16px; }
 .login-card { padding: 26px; }
}
