.login-page { min-height: 100vh; background: #eef3f9; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 48px 56px; color: white; background: radial-gradient(circle at 80% 22%, rgba(67,184,255,.24), transparent 25%), linear-gradient(145deg, #06152f, #0a2d62 62%, #0c478e); }
.login-visual::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.login-brand { position: relative; z-index: 2; width: max-content; color: white; }
.login-brand .brand-copy small { color: #bdd2eb; }
.visual-copy { position: relative; z-index: 2; max-width: 650px; margin: auto 0; padding: 60px 0; }
.visual-copy h1 { margin: 18px 0 20px; font-size: clamp(45px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -3.4px; }
.visual-copy p { max-width: 610px; margin: 0; color: #c7d6e9; font-size: 17px; }
.visual-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.visual-cards article { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.visual-cards article > span { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #8fd1ff; background: rgba(75,169,255,.14); font-size: 11px; font-weight: 800; }
.visual-cards strong, .visual-cards small { display: block; }
.visual-cards strong { font-size: 12px; }
.visual-cards small { margin-top: 2px; color: #b9cbe1; font-size: 9px; line-height: 1.4; }
.login-panel { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 42px clamp(24px, 6vw, 90px); background: #f8fbff; }
.back-link { align-self: flex-start; margin-bottom: 28px; color: #526176; font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--primary); }
.login-box { width: 100%; max-width: 520px; padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 25px 70px rgba(20,46,84,.11); }
.login-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.login-icon { width: 49px; height: 49px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: #eaf2ff; font-size: 22px; }
.login-heading small { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.login-heading h2 { margin: 4px 0 7px; font-size: 29px; line-height: 1.18; letter-spacing: -1px; }
.login-heading p { margin: 0; color: var(--muted); font-size: 13px; }
#staffLoginForm > label { display: block; margin: 17px 0 8px; font-size: 12px; font-weight: 700; }
.input-wrap { min-height: 54px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid #dce3ed; border-radius: 13px; background: #fbfdff; transition: .2s ease; }
.input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(18,104,232,.09); background: white; }
.input-wrap > span { color: #7990ad; text-align: center; font-size: 16px; }
.input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.input-wrap input::placeholder { color: #a2adbc; }
.password-wrap { grid-template-columns: 34px 1fr auto; }
.password-wrap button { border: 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 800; cursor: pointer; }
.form-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; }
.remember { display: inline-flex; align-items: center; gap: 7px; color: #59677b; font-size: 11px; }
.remember input { accent-color: var(--primary); }
.link-button { border: 0; padding: 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 700; cursor: pointer; }
.form-message { min-height: 18px; margin: 12px 0 0; color: #c23333; font-size: 11px; }
.login-submit { width: 100%; margin-top: 6px; }
.security-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px; border-radius: 13px; background: #f2f6fb; }
.security-note p { margin: 0; color: #6c7889; font-size: 10px; }
.login-footer { width: 100%; max-width: 520px; margin: 20px 0 0; color: #8a95a4; text-align: center; font-size: 10px; }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: auto; padding: 34px 28px; }
  .visual-copy { padding: 70px 0 50px; }
  .visual-copy h1 { max-width: 760px; }
  .login-panel { min-height: auto; padding: 50px 24px; align-items: center; }
  .back-link { width: min(520px, 100%); }
}

@media (max-width: 620px) {
  .login-visual { padding: 24px 20px; }
  .visual-copy { padding: 48px 0 34px; }
  .visual-copy h1 { font-size: 40px; letter-spacing: -2.1px; }
  .visual-copy p { font-size: 14px; }
  .visual-cards { grid-template-columns: 1fr; }
  .visual-cards article { padding: 13px; }
  .login-panel { padding: 30px 14px; }
  .back-link { margin-bottom: 18px; }
  .login-box { padding: 25px 19px; border-radius: 21px; }
  .login-heading h2 { font-size: 24px; }
  .form-meta { align-items: flex-start; }
}
