:root { color-scheme: light; --wine: #710e16; --gold: #f2c44e; --ink: #322322; --muted: #796b65; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #faf6ee; font-family: 'Segoe UI', Arial, sans-serif; }
.login-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 36px; color: #fff2d2; text-align: center; background: radial-gradient(ellipse at 50% 30%, #a62728 0, #710e16 55%, #420a10 100%); }
.brand-panel::before, .brand-panel::after { content: ''; position: absolute; border: 1px solid #f2c44e26; border-radius: 50%; width: 640px; height: 640px; pointer-events: none; }
.brand-panel::before { top: -380px; left: -320px; }
.brand-panel::after { bottom: -420px; right: -300px; width: 760px; height: 760px; }
.brand-eyebrow, .brand-location, .form-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; }
.brand-eyebrow { color: #f5d487; margin-bottom: 34px; }
.brand-logo { position: relative; width: clamp(180px, 23vw, 310px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 18px 65px #26000766; }
.brand-copy { position: relative; margin-top: 32px; }
.gold-rule { display: block; width: 44px; height: 2px; background: var(--gold); margin: 0 auto 24px; }
.brand-copy h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: 1.22; }
.brand-copy p { margin: 20px 0 0; color: #e4bcb3; font-size: 14px; line-height: 1.6; }
.brand-location { margin-top: 46px; color: #f1ce7c; font-size: 10px; }
.brand-location span { margin: 0 15px; }
.form-panel { position: relative; display: flex; align-items: center; justify-content: center; padding: 80px 48px 90px; background: radial-gradient(ellipse at top right, #f2e4c752, transparent 65%), #fffcf6; }
.form-wrap { width: 100%; max-width: 390px; }
.form-eyebrow { display: block; color: var(--wine); letter-spacing: 2.5px; margin-bottom: 18px; }
h2 { margin: 0 0 12px; font: 400 40px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -1px; }
.form-intro { margin: 0 0 34px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.field input { width: 100%; min-height: 52px; border: 1px solid #ded4c5; border-radius: 8px; background: #fffefa; padding: 14px 16px; color: var(--ink); font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #928880; }
.field input:focus { outline: none; border-color: #a77a27; box-shadow: 0 0 0 3px #e9b64126; }
.field input[aria-invalid='true'] { border-color: #b52130; }
.password-field { position: relative; }
.password-field input { padding-right: 72px; }
.password-toggle { position: absolute; right: 8px; top: 8px; min-height: 36px; padding: 4px 10px; color: var(--wine); border: 0; border-radius: 4px; background: transparent; cursor: pointer; font: 600 12px 'Segoe UI', Arial, sans-serif; }
.form-options { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; margin: 0 0 28px; }
.remember { margin-right: auto; display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.remember input { accent-color: var(--wine); width: 16px; height: 16px; }
a { color: var(--wine); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input[type='checkbox']:focus-visible { outline: 3px solid #b08223; outline-offset: 4px; }
.sign-in { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 53px; padding: 14px 20px; border: 1px solid #621018; border-radius: 8px; background: linear-gradient(110deg, #8d1821, #670c14); color: #fff3d4; font: 600 14px 'Segoe UI', Arial, sans-serif; box-shadow: 0 7px 15px #710e161a; cursor: pointer; transition: background .15s, box-shadow .15s; }
.sign-in span { color: var(--gold); font-size: 21px; line-height: 1; }
.sign-in:hover { background: #570b12; box-shadow: 0 9px 20px #710e162b; }
.register-link { margin: 26px 0 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.8; }
.register-link a { margin-left: 4px; }
.form-footer { border-top: 1px solid #e9dfcf; padding-top: 26px; margin-top: 36px; text-align: center; color: #88775d; font: italic 14px Georgia, 'Times New Roman', serif; }
.form-footer span { color: #b18a40; padding: 0 7px; }
.copyright { position: absolute; bottom: 22px; left: 20px; right: 20px; text-align: center; color: #8f8277; font-size: 11px; line-height: 1.5; }
.field-error { color: #a01d2b; font-size: 12px; line-height: 1.6; margin: 7px 0 0; }
.status-message { padding: 12px 16px; border: 1px solid #d6c69e; background: #f9f0db; border-radius: 8px; margin-bottom: 20px; font-size: 13px; }
@media (min-width: 1500px) { .form-wrap { max-width: 420px; } }
@media (max-width: 767px) {
    .login-shell { grid-template-columns: 1fr; }
    .brand-panel { padding: 28px 24px; }
    .brand-eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 18px; }
    .brand-logo { width: 140px; }
    .brand-copy { margin-top: 18px; }
    .gold-rule { margin-bottom: 16px; width: 30px; }
    .brand-copy h1 { font-size: 27px; }
    .brand-copy h1 br { display: none; }
    .brand-copy p { display: none; }
    .brand-location { margin-top: 18px; font-size: 9px; }
    .form-panel { padding: 38px 24px 76px; }
    h2 { font-size: 34px; }
    .form-intro { margin-bottom: 26px; }
    .form-footer { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
