:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #101126; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
a { color: #334fc4; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #087bff; outline-offset: 4px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.login-panel { padding: 42px clamp(28px, 5vw, 88px) 28px; display: flex; flex-direction: column; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { width: 175px; max-width: 65%; height: auto; }
.language-selector select { padding: 9px 10px; border: 1px solid #e2e4ed; border-radius: 8px; background: white; color: #43465e; font-size: 12px; cursor: pointer; }
.login-content { width: 100%; max-width: 410px; margin: auto; padding: 80px 0; }
.eyebrow { color: #685f87; font-size: 11px; font-weight: 700; letter-spacing: 2.6px; margin: 0 0 20px; }
h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 650; margin: 0 0 14px; }
.login-intro { color: #727589; font-size: 15px; line-height: 1.7; margin: 0 0 38px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.form-group input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #dcdfea; border-radius: 9px; color: #101126; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-group input::placeholder { color: #9396a7; }
.form-group input:focus { border-color: #4562dc; box-shadow: 0 0 0 3px #4562dc12; outline: none; }
.form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; margin: 0 0 32px; }
.password-toggle { display: inline-flex; align-items: center; gap: 8px; color: #63677b; cursor: pointer; }
.password-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #3b51c7; }
.login-submit { width: 100%; min-height: 54px; border: 0; border-radius: 9px; background: #111329; color: white; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-weight: 600; cursor: pointer; transition: background .15s; }
.login-submit:hover { background: #303d8b; }
.login-submit span:last-child { font-size: 22px; font-weight: 400; }
.login-message { padding: 14px; margin: 0 0 24px; background: #fff0f4; border: 1px solid #f6c8d5; color: #a11b46; border-radius: 9px; font-size: 14px; line-height: 1.5; }
.login-footer { text-align: center; color: #878a9c; font-size: 11px; line-height: 1.6; }
.login-visual { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; background: #13182a; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 80px); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; z-index: -2; }
.login-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0c132315 20%, #0e14286b 48%, #0b1022f0 100%); z-index: -1; }
.hero-brand { position: absolute; top: 42px; right: 42px; width: 128px; padding: 15px 12px; border-radius: 14px; background: #fff; }
.hero-brand img { display: block; width: 100%; height: auto; }
.hero-content { max-width: 480px; padding-top: 250px; padding-bottom: 44px; }
.hero-kicker { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; color: #e1e3ef; }
h2 { font-size: clamp(34px, 3.7vw, 56px); font-weight: 500; letter-spacing: -1.6px; line-height: 1.14; margin: 22px 0; text-wrap: balance; }
.hero-content p { font-size: 15px; line-height: 1.8; max-width: 340px; color: #e0e2eb; }
.hero-accent { display: block; width: 64px; height: 4px; margin-top: 30px; border-radius: 4px; background: linear-gradient(90deg, #007cff, #ff007d); }
.photo-credit { position: absolute; bottom: 24px; right: 28px; color: #d4d6e0; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) { .login-content { max-width: 450px; } }
@media (max-width: 767px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-panel { min-height: 100svh; padding: 28px 24px 22px; }
    .wordmark { width: 155px; }
    .login-content { padding: 60px 0; }
    .login-visual { min-height: 460px; padding: 36px 28px; }
    .hero-brand { top: 28px; right: 28px; width: 100px; }
    .hero-content { padding-top: 140px; padding-bottom: 30px; }
    h2 { max-width: 400px; font-size: 38px; }
}
