/* Login and signup only; the student pipeline keeps its full-width layout. */
#login {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  max-width: 1060px;
  margin: clamp(32px, 7vh, 84px) auto;
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}
.auth-welcome { padding: 38px 0; }
#login .eyebrow { margin: 0 0 20px; font-size: 11px; letter-spacing: 2.5px; }
.auth-welcome h1 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.12; font-weight: 650; margin: 0 0 26px; letter-spacing: -1.6px; }
.auth-welcome > p:not(.eyebrow) { max-width: 350px; }
.auth-welcome-note { border-top: 1px solid #294156; margin: 36px 0 22px; padding-top: 24px; display: flex; align-items: center; gap: 18px; }
.auth-welcome-note p { margin: 0; font-size: 14px; }
.auth-mark { color: #56dfce; font-size: 34px; }
#login .auth-footnote { font-size: 12px; color: #9eafc0; line-height: 1.7; }
.auth-panel { padding: clamp(24px, 3vw, 38px); background: #101e2f; border: 1px solid #294156; border-radius: 18px; box-shadow: 0 20px 60px #0003; min-width: 0; }
#login .auth-panel .eyebrow { margin-bottom: 12px; }
#auth-title { font-size: 30px; letter-spacing: -0.7px; line-height: 1.2; margin: 0 0 12px; }
#login-intro { font-size: 14px; margin: 0 0 28px; }
#login form { gap: 18px; }
#login input { width: 100%; background: #0b1625; min-height: 48px; border-color: #3d566d; }
#login input::placeholder { color: #93a6b8; opacity: 1; }
#login input[readonly] { color: #aec2d4; background: #152537; }
#login .auth-primary { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; }
#login .auth-primary:hover { background: #83eadf; }
#login .auth-link { background: transparent; border: 0; color: #85e5db; padding: 4px 0; min-height: 32px; font-size: 13px; justify-self: center; }
#login #forgot-password { justify-self: end; margin-top: -10px; }
#login .auth-secondary { background: transparent; color: #ddedf8; border-color: #4a6379; min-height: 44px; width: 100%; }
#login .auth-secondary:hover { background: #203449; }
.auth-signup { border-top: 1px solid #294156; padding-top: 22px; margin-top: 26px; text-align: center; }
.auth-signup p { font-size: 13px; margin: 0 0 12px; }
.password-field { position: relative; display: block; }
#login .password-field input { padding-right: 65px; }
#login .password-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 10px; background: transparent; border: 0; color: #aec7d9; font-size: 12px; }
#auth-status:not([hidden]) { margin: 0 0 20px; border-left: 3px solid #efbb79; background: #302b25; border-radius: 0 6px 6px 0; color: #ffe1b7; padding: 12px 14px; font-size: 13px; overflow-wrap: anywhere; }
#auth-progress { list-style: none; display: flex; padding: 0 0 22px; margin: 0 0 24px; border-bottom: 1px solid #294156; gap: 14px; }
#auth-progress li { flex: 1; font-size: 11px; color: #a1b2c4; line-height: 1.4; }
#auth-progress span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #536a80; border-radius: 50%; margin-bottom: 8px; font-size: 12px; }
#auth-progress li[aria-current="step"] { color: #81e8dc; }
#auth-progress li[aria-current="step"] span { background: #56dfce; border-color: #56dfce; color: #082329; font-weight: 700; }
#auth-progress .completed span { color: #80e7db; border-color: #408c86; }
#login .auth-form-note { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
#login .code-input { font-size: 26px; text-align: center; letter-spacing: 0.3em; padding-left: calc(12px + 0.3em); font-variant-numeric: tabular-nums; }
#login small { font-size: 12px; }
.code-help { border-top: 1px solid #294156; padding-top: 18px; color: #b4ccdd; font-size: 13px; }
.code-help summary { cursor: pointer; padding: 4px 0; }
.code-help p { font-size: 13px; }
.auth-pending h3 { margin: 16px 0 10px; font-size: 23px; }
.auth-pending p { font-size: 14px; }
.pending-check { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #85edbd; background: #173a32; font-size: 25px; }
.pending-next { margin: 24px 0; padding: 18px; background: #172b3d; border-radius: 8px; }
.pending-next strong { font-size: 14px; }
#signup-expectation { margin: 22px 0 0; }
@media (max-width: 760px) {
  #login { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 24px auto; gap: 0; }
  .auth-welcome { padding: 4px 0 22px; }
  .auth-welcome h1, .auth-welcome > p:not(.eyebrow), .auth-welcome-note { display: none; }
  #login .auth-welcome .eyebrow { margin: 0; }
  .auth-panel { padding: 26px 22px; border-radius: 12px; }
  #auth-title { font-size: 28px; }
}
