.staff-login-page {
    --login-border: #cbdde8;
    margin: 0; color: #243b4a;
    background: radial-gradient(ellipse at 8% 5%, #c9f1ff 0, transparent 45%), radial-gradient(ellipse at 95% 95%, #dce9f4 0, transparent 45%), #f2f8fc;
    font: 14px/1.6 "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.staff-login-page *, .staff-login-page *::before, .staff-login-page *::after { box-sizing: border-box; }
.staff-login-page [hidden] { display: none !important; }
.staff-login-page button, .staff-login-page input { font: inherit; }
.staff-login-page .login-shell { max-width: 1240px; min-height: 100vh; min-height: 100svh; margin: auto; padding: 34px 40px 22px; display: flex; flex-direction: column; justify-content: center; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.login-logo { display: block; width: var(--admin-logo-width, 520px); max-width: 72%; height: var(--admin-logo-height, 66px); object-fit: contain; object-position: left center; }
.login-portal-label { display: inline-flex; align-items: center; gap: 8px; color: #00658f; background: #e5f7ff; border: 1px solid #b6e4f4; border-radius: 30px; padding: 7px 14px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.login-portal-label > span { width: 6px; height: 6px; border-radius: 50%; background: #00aeef; box-shadow: 0 0 0 3px #00aeef18; }
.staff-login-page .login-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 612px; border: 1px solid #cbdde8; border-radius: 20px; background: #fff; box-shadow: 0 18px 70px -30px #06466b48; }
.staff-login-page .login-card > .span6 { width: auto; min-height: 0; margin: 0; float: none; }
.staff-login-page .login-card::before, .staff-login-page .login-card::after { display: none; content: none; }
.staff-login-page .login-card > .login-story { display: flex; }
.login-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 46px 46px 26px; color: #f5fcff; background: radial-gradient(ellipse at 100% 0%, #00aeef55 0, transparent 60%), linear-gradient(145deg, #062a42 0%, #074d70 65%, #00658f 100%); }
.login-story::after { content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid #ffffff06; border-radius: 50%; right: -240px; top: -180px; box-shadow: 0 0 0 45px #ffffff02, 0 0 0 90px #ffffff02; pointer-events: none; }
.login-story-copy { position: relative; z-index: 1; }
.login-eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 35px; color: #bcecff; font-size: 10px; letter-spacing: 1.5px; font-weight: 600; text-transform: uppercase; }
.login-eyebrow > span { display: block; width: 22px; height: 2px; background: #00aeef; }
.login-story h1 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4.3vw, 58px); font-weight: 400; line-height: 1.12; letter-spacing: -1.8px; }
.login-story h1 em { color: #4ed8ff; font-weight: 400; }
.login-story-description { margin: 0; color: #c7e5f2; font-size: 14px; line-height: 1.85; }
.login-architecture { margin: 18px -46px -12px; opacity: .85; }
.login-architecture svg { display: block; width: 100%; height: auto; }
.login-story-footer { position: relative; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid #72dfff30; padding-top: 18px; color: #c7e5f2; font-size: 10px; letter-spacing: .4px; }
.login-story-footer > span:last-child { color: #4ed8ff; font-size: 20px; line-height: 1; }
.login-form-panel { padding: 45px 58px 35px; align-content: center; }
.login-access-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: #0078a5; background: #e7f7ff; border: 1px solid #bce6f6; margin-bottom: 23px; }
.login-form-eyebrow { margin: 0 0 7px; color: #00769c; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.login-form-heading h2 { color: #11364d; margin: 0 0 8px; font-size: 32px; font-weight: 600; letter-spacing: -1px; line-height: 1.25; }
.login-form-heading > p:last-child { margin: 0; color: #666; font-size: 13px; }
.staff-login-page .login-form { margin: 29px 0 0; }
.staff-login-page .control-group { margin: 0 0 21px; }
.staff-login-page .control-label { display: block; color: #333; font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.login-input-wrap { position: relative; }
.login-field-icon { position: absolute; left: 15px; top: 15px; color: #777; pointer-events: none; }
.staff-login-page .login-form input[type="text"], .staff-login-page .login-form input[type="password"] { display: block; width: 100%; height: 50px; min-height: 50px; margin: 0; padding: 12px 46px; border: 1px solid var(--login-border); border-radius: 8px; color: #222; background: #fff; font-size: 13px; box-shadow: 0 1px 2px #20202003; transition: border-color .15s, box-shadow .15s; }
.staff-login-page .login-form input::placeholder { color: #888; opacity: 1; }
.staff-login-page .login-form input:focus { outline: none; border-color: #00aeef; background: #fff; box-shadow: 0 0 0 3px #00aeef22; }
.staff-login-page .login-form input[aria-invalid="true"] { border-color: #b42318; }
.staff-login-page .login-form input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #b4231822; }
.staff-login-page .login-password-toggle { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; padding: 0; background: transparent; border: 0; border-radius: 5px; color: #666; cursor: pointer; }
.login-password-toggle:hover { color: #00658f; background: #e7f7ff; }
.login-password-toggle:focus-visible, .login-submit:focus-visible { outline: 3px solid #00aeef; outline-offset: 3px; }
.login-eye-slash { display: none; }
.login-password-toggle[aria-pressed="true"] .login-eye-slash { display: block; }
.staff-login-page .login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; margin-top: 7px; padding: 12px 20px; border: 1px solid #00749e; border-radius: 8px; background: linear-gradient(110deg, #00658f, #007da8); color: #fff; font-size: 13px; font-weight: 600; line-height: 24px; box-shadow: 0 5px 14px #008cbd30; text-shadow: none; transition: background .15s, transform .15s; }
.staff-login-page .login-submit:hover, .staff-login-page .login-submit:focus { background: linear-gradient(110deg, #00577c, #006c94); border-color: #00658f; color: #fff; }
.staff-login-page .login-submit:active { transform: translateY(1px); }
.staff-login-page .login-submit:disabled { opacity: .75; cursor: wait; }
.login-submit-arrow { margin-left: 3px; }
.login-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
.login-form[aria-busy="true"] .login-spinner { display: block; }
.login-form[aria-busy="true"] .login-submit-arrow { display: none; }
.login-status { margin: 0; font-size: 12px; color: #666; }
.login-status:not(:empty) { padding-top: 8px; }
.login-support { display: flex; gap: 11px; align-items: center; margin-top: 27px; padding-top: 23px; border-top: 1px solid #deebf3; }
.login-support-icon { display: flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; border: 1px solid #bce6f6; border-radius: 50%; color: #00769c; background: #edf9ff; font-size: 12px; }
.login-support p { margin: 0; color: #777; font-size: 11px; line-height: 1.75; }
.login-support strong { color: #444; font-weight: 500; }
.login-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 24px; color: #777; font-size: 10px; }
.staff-login-page .login-error, .staff-login-page .form-feedback { padding: 12px 14px; border: 1px solid #c8c8c8; border-radius: 8px; background: #f2f2f2; color: #333; font-size: 12px; line-height: 1.6; text-shadow: none; }
.login-field-error, .login-caps-lock { display: block; margin-top: 6px; color: #444; font-size: 11px; }
.staff-login-page .login-error, .staff-login-page .form-feedback[data-form-feedback-type="error"] { color: #b42318; border-color: #f2b8b3; background: #fff4f2; }
.staff-login-page .login-field-error, .staff-login-page .login-form .errorMessage { color: #b42318; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .staff-login-page .login-shell { max-width: 1300px; } .staff-login-page .login-card { min-height: 650px; } .login-form-panel { padding: 55px 68px; } }
@media (max-width: 1000px) { .staff-login-page .login-shell { padding: 28px; } .login-story { padding: 38px 30px 25px; } .login-form-panel { padding: 38px 32px; } .login-story h1 { font-size: 46px; } .login-architecture { margin-left: -30px; margin-right: -30px; } .login-eyebrow { font-size: 9px; letter-spacing: 1px; } }
@media (max-width: 767px) {
    .staff-login-page .login-shell { max-width: 560px; padding: 26px 20px 20px; justify-content: flex-start; }
    .login-header { justify-content: center; margin: 15px 0 30px; }
    .login-logo { width: var(--admin-logo-width, 360px); max-width: 100%; }
    .login-portal-label, .staff-login-page .login-card > .login-story { display: none; }
    .staff-login-page .login-card { display: block; min-height: 0; border-radius: 16px; }
    .login-form-panel { padding: 34px 28px; }
    .login-access-icon { margin-bottom: 22px; }
    .login-form-heading h2 { font-size: 30px; }
    .staff-login-page .login-form input[type="text"], .staff-login-page .login-form input[type="password"] { font-size: 16px; }
    .login-footer { flex-direction: column; align-items: center; gap: 2px; margin-top: 22px; text-align: center; font-size: 10px; }
}
@media (max-width: 360px) { .staff-login-page .login-shell { padding: 18px 12px; } .login-form-panel { padding: 28px 20px; } }
@media (prefers-reduced-motion: reduce) { .staff-login-page *, .staff-login-page *::before, .staff-login-page *::after { animation-duration: .01ms !important; transition: none !important; scroll-behavior: auto !important; } }
