.auth-page {
    margin: 0;
    color: #202b32;
    background: #f7f8f5;
    font-family: "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.auth-main { min-height: 100vh; min-height: 100svh; }
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.login-brand { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(32px, 5vw, 80px); background: #172e32; color: #fff; }
.login-wordmark { position: relative; z-index: 1; }
.login-logo { display: block; width: 260px; max-width: 100%; height: auto; }
.login-brand-content { margin: auto 0; padding: 84px 0; position: relative; z-index: 1; }
.login-eyebrow { display: block; font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: 2px; }
.login-brand .login-eyebrow { color: #d9ea70; margin-bottom: 25px; }
.login-brand h2 { font-size: clamp(36px, 3.8vw, 60px); line-height: 1.12; letter-spacing: -2.5px; font-weight: 500; margin-bottom: 25px; }
.login-brand h2 span { color: #d9ea70; }
.login-brand-content > p { color: #bdcece; max-width: 350px; line-height: 1.8; font-size: 16px; }
.login-brand-line { height: 1px; width: 48px; background: #72928e; margin: 34px 0 22px; }
.login-brand-note { color: #e1e9e7; font-size: 14px; line-height: 1.7; }
.login-brand-footer { color: #a9bfbd; font-size: 12px; position: relative; z-index: 1; }
.pixel-art { position: absolute; right: -75px; bottom: 45px; width: 270px; height: 270px; transform: rotate(-16deg); opacity: .35; pointer-events: none; }
.pixel-art span { position: absolute; width: 86px; height: 86px; border: 1px solid #6c9790; }
.pixel-art span:nth-child(1) { top: 0; left: 90px; background: #294d4b; }
.pixel-art span:nth-child(2) { top: 90px; left: 0; }
.pixel-art span:nth-child(3) { top: 90px; left: 90px; }
.pixel-art span:nth-child(4) { top: 90px; left: 180px; background: #a9bd57; }
.pixel-art span:nth-child(5) { top: 180px; left: 90px; }
.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 48px 24px; }
.login-form-wrap { width: 100%; max-width: 390px; margin: auto 0; padding: 36px 0; }
.login-form-heading .login-eyebrow { color: #5e726e; margin-bottom: 20px; letter-spacing: 1.5px; }
.login-form-heading h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.17; font-weight: 600; letter-spacing: -1.5px; margin-bottom: 16px; }
.login-form-heading p { font-size: 14px; color: #687773; line-height: 1.7; margin-bottom: 34px; }
.login-field { margin-bottom: 22px; }
.login-form .form-label { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.login-form .form-control { min-height: 52px; border: 1px solid #d8ded9; border-radius: 9px; padding: 13px 15px; color: #202b32; background: #fff; font-size: 14px; }
.login-form .form-control::placeholder { color: #8a9590; }
.login-form .form-control:hover { border-color: #9eafa7; }
.login-form .form-control:focus { border-color: #3c7468; box-shadow: 0 0 0 3px #3c74681c; }
.login-password { position: relative; }
.login-password .form-control { padding-right: 54px; }
.password-toggle { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: #687773; display: grid; place-items: center; }
.password-toggle[hidden] { display: none; }
.password-toggle:hover { background: #eff3ee; color: #172e32; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.login-remember { font-size: 13px; color: #52615b; margin: 3px 0 27px; }
.login-remember .form-check-input { border-color: #a8b7ad; cursor: pointer; }
.login-remember .form-check-input:checked { background-color: #245c4e; border-color: #245c4e; }
.login-remember label { cursor: pointer; }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 53px; border: 1px solid #172e32; border-radius: 9px; padding: 12px 19px; color: #fff; background: #172e32; font-size: 14px; font-weight: 600; transition: background-color .15s; }
.login-submit span:last-child { font-size: 22px; color: #d9ea70; font-weight: 400; }
.login-submit:hover, .login-submit:active { color: #fff !important; background: #285047 !important; border-color: #285047 !important; }
.auth-page button:focus-visible, .login-remember .form-check-input:focus-visible { outline: 3px solid #659b8b; outline-offset: 3px; box-shadow: none; }
.login-help { text-align: center; color: #687773; font-size: 12px; line-height: 1.9; margin: 26px 0 0; }
.login-help span { color: #344f44; }
.login-footer { color: #77857e; font-size: 11px; text-align: center; padding-top: 32px; }
.login-footer span { padding: 0 8px; }
.login-validation.validation-summary-valid, .login-field-error:empty { display: none; }
.login-validation.validation-summary-errors { padding: 13px 15px; border: 1px solid #edc7c3; border-radius: 9px; background: #fff1ef; color: #a23228; margin-bottom: 22px; font-size: 13px; }
.login-validation ul { margin: 0; padding-left: 18px; }
.login-field-error { display: block; color: #a23228; font-size: 12px; margin-top: 7px; }
.login-form .input-validation-error { border-color: #bd554a; }
@media (min-width: 1600px) {
    .login-brand { padding-left: max(80px, calc((100vw - 1440px) / 2)); }
}
@media (max-width: 991.98px) {
    .login-brand { padding: 36px; }
    .login-brand h2 { font-size: 38px; letter-spacing: -1.5px; }
    .login-panel { padding: 36px 32px 24px; }
}
@media (max-width: 767.98px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-brand { padding: 24px; }
    .login-logo { width: 220px; }
    .login-brand-content { padding: 30px 0 4px; }
    .login-brand .login-eyebrow, .login-brand-content > p, .login-brand-line, .login-brand-note, .login-brand-footer { display: none; }
    .login-brand h2 { font-size: 29px; line-height: 1.2; margin: 0; letter-spacing: -1px; }
    .login-brand h2 br { display: none; }
    .login-brand h2 span { display: block; }
    .pixel-art { bottom: -120px; right: -90px; }
    .login-panel { padding: 20px 24px 22px; }
    .login-form-wrap { padding: 20px 0 8px; }
    .login-form-heading .login-eyebrow { font-size: 10px; margin-bottom: 12px; }
    .login-form-heading h1 { font-size: 30px; }
    .login-form-heading h1 br { display: none; }
    .login-form-heading p { margin-bottom: 26px; }
    .login-footer { padding-top: 25px; }
}
