:root { font-family: Arial, Helvetica, sans-serif; color: #17263a; background: #0c1c30; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
.login-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); min-height: 100dvh; }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100dvh; padding: clamp(24px, 3vw, 54px); overflow: hidden; background: #102844 url('assets/portal-login-factory-men.png') center / cover no-repeat; color: #fff; }
.login-story::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,39,.72), rgba(7,28,49,.22) 72%), linear-gradient(0deg, rgba(5,17,34,.78), transparent 46%); }
.login-story > * { position: relative; }
.story-brand { display: flex; align-items: center; gap: 16px; color: #e8eef3; font-size: 13px; font-weight: 700; }
.story-brand img { display: block; width: 152px; max-height: 46px; object-fit: contain; }
.story-brand span { padding-left: 16px; border-left: 1px solid #a2b4c8; }
.story-copy { max-width: 540px; padding-bottom: 12vh; }
.story-rule { display: block; width: 48px; height: 3px; margin-bottom: 24px; background: #e55052; }
.story-copy h1 { margin: 0; font-size: clamp(42px, 4vw, 72px); line-height: 1.04; font-weight: 800; }
.story-copy p { margin: 20px 0 0; color: #e2ebf3; font-size: 16px; line-height: 1.5; }
.story-footer { color: #c1cfde; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.login-side { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-width: 0; padding: 30px; background: #f2f6f8; }
.login-card { width: min(100%, 450px); min-width: 0; padding: clamp(28px, 4vw, 52px); border: 1px solid #e0e8ee; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(15,39,64,.09); }
.login-mark { display: block; width: 134px; max-height: 42px; object-fit: contain; padding: 8px; border-radius: 4px; background: #9b111c; }
.login-eyebrow { margin: 34px 0 7px; color: #a31927; font-size: 11px; font-weight: 800; }
.login-card h2 { margin: 0; font-size: 31px; line-height: 1.2; }
.login-intro { margin: 9px 0 30px; color: #697b8f; font-size: 14px; }
.login-card form { display: grid; }
.login-card label { margin: 0 0 8px; color: #33465c; font-size: 13px; font-weight: 700; }
.login-card input { width: 100%; height: 46px; margin: 0 0 21px; padding: 0 13px; border: 1px solid #cbd8e2; border-radius: 5px; outline: none; background: #fff; color: #17263a; font-size: 14px; }
.login-card input:focus { border-color: #a51b2a; box-shadow: 0 0 0 3px #f6e8ea; }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.password-toggle { position: absolute; top: 8px; right: 8px; min-height: 30px; padding: 0 8px; border: 0; background: transparent; color: #385570; font-size: 12px; font-weight: 700; cursor: pointer; }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0 17px; border: 1px solid #a41421; border-radius: 5px; background: #b71927; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s ease; }
.login-submit:hover { background: #94111d; }
.login-submit:focus-visible, .password-toggle:focus-visible { outline: 2px solid #1a6480; outline-offset: 2px; }
.login-submit span { font-size: 21px; line-height: 1; }
.login-help { margin: 22px 0 0; color: #708193; font-size: 12px; text-align: center; }
.login-alert { margin: -10px 0 20px; padding: 11px 12px; border: 1px solid #ebc4ca; border-radius: 5px; background: #fff1f3; color: #8d1422; font-size: 13px; }
@media (max-width: 760px) { .login-shell { grid-template-columns: minmax(0, 1fr); } .login-story { min-height: 238px; padding: 22px; background-position: center 35%; } .story-brand img { width: 112px; } .story-brand span { font-size: 11px; } .story-copy { padding: 24px 0 0; } .story-rule { margin-bottom: 12px; } .story-copy h1 { font-size: 34px; } .story-copy p, .story-footer { display: none; } .login-side { min-height: calc(100dvh - 238px); padding: 16px; } .login-card { padding: 26px; } .login-card h2 { font-size: 27px; } .login-eyebrow { margin-top: 24px; } }
