* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; color: #292929; font-family: Arial, Helvetica, sans-serif; }
body { min-height: 100vh; min-height: 100dvh; }
.page { width: 100%; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; padding: 0 5.8% 36px; }
.brand { height: 91px; display: flex; align-items: center; justify-content: center; color: #c8102e; font-family: Arial, Helvetica, sans-serif; font-size: clamp(32px, 8vw, 48px); font-weight: 900; letter-spacing: 3px; line-height: 1; white-space: nowrap; }
.login-panel { width: 100%; }
.heading-row { display: flex; align-items: center; gap: 21px; margin: 11px 0 0; min-height: 53px; }
.back-button { flex: 0 0 51px; width: 51px; height: 52px; padding: 0; display: grid; place-items: center; border: 1px solid #171717; border-radius: 5px; background: #fff; color: #111; }
.back-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
h1 { margin: 0; font-size: clamp(25px, 6.2vw, 38px); line-height: 1.1; font-weight: 750; letter-spacing: .2px; white-space: nowrap; }
form { margin-top: 58px; }
.field { position: relative; width: 100%; height: 55px; border-bottom: 1px solid #777; }
.field input { width: 100%; height: 100%; padding: 5px 13px 0; border: 0; outline: 0; background: transparent; color: #292929; font: 400 22px Arial, Helvetica, sans-serif; }
.field input::placeholder { color: #999; opacity: 1; }
.email-field { margin-bottom: 60px; }
.password-field input { padding-right: 55px; }
.visibility-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 32px; height: 34px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; color: #222; }
.visibility-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.remember-row { display: flex; align-items: center; gap: 13px; margin-top: 54px; width: fit-content; font-size: 23px; line-height: 1.2; cursor: pointer; }
.remember-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.custom-checkbox { width: 26px; height: 26px; border: 1px solid #777; background: #fff; display: inline-block; flex: 0 0 26px; position: relative; }
.remember-row input:checked + .custom-checkbox::after { content: ""; position: absolute; left: 7px; top: 2px; width: 8px; height: 15px; border: solid #333; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.remember-row input:focus-visible + .custom-checkbox { outline: 2px solid #246a9c; outline-offset: 2px; }
.login-button, .join-button { display: block; width: 100%; height: 52px; border: 0; border-radius: 6px; color: #fff; font: 700 20px Arial, Helvetica, sans-serif; }
.login-button { margin-top: 55px; background: #c90000; }
.join-button { margin-top: 25px; background: #35414e; }
.forgot-button { display: block; margin: 28px auto 0; border: 0; padding: 0; background: transparent; color: #176c9f; font: 400 25px Arial, Helvetica, sans-serif; }
.demo-message { min-height: 20px; margin: 14px 0 0; text-align: center; color: #555; font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid #176c9f; outline-offset: 2px; }
@media (min-width: 600px) { .page { max-width: 680px; margin: 0 auto; padding-left: 38px; padding-right: 38px; } .brand { height: 105px; } form { margin-top: 58px; } }
@media (max-width: 360px) { .page { padding-left: 5.5%; padding-right: 5.5%; } .heading-row { gap: 14px; } h1 { font-size: 25px; } .remember-row { font-size: 20px; } }
