/* DOBJob account screens — aligned with the public research desk.
   Authentication workflow, field names, routes and validation stay unchanged. */
body.auth-page {
  background: #f3f2ed;
  color: #1b292f;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
.auth-page .login-wrap {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 62px 22px;
  background:
    linear-gradient(90deg, rgba(35,94,168,.042) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(0deg, rgba(35,94,168,.035) 1px, transparent 1px) 0 0 / 70px 70px,
    #f3f2ed;
}
.auth-page .login-card {
  position: relative;
  width: min(100%, 480px);
  padding: 40px 42px 37px;
  border: 1px solid #ccd4ce;
  border-radius: 7px;
  background: #fffefa;
  color: #1b292f;
  box-shadow: 0 25px 70px rgba(29,54,63,.07);
}
.auth-page .login-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #235ea8;
  border-radius: 7px 7px 0 0;
}
.auth-page .auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: #1b292f;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1.1;
  text-decoration: none;
}
.auth-page .auth-brand > span:last-child > span { color: #235ea8; }
.auth-page .auth-brand b { color: #93aa67; }
.auth-page .auth-brand-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border-radius: 6px;
  background: #235ea8;
  padding: 7px;
  transform: rotate(-5deg);
}
.auth-page .auth-brand-symbol i { background: #fffefa; border-radius: 1px; }
.auth-page .auth-brand-symbol i:nth-child(2) { opacity: .55; }
.auth-page .auth-brand-symbol i:nth-child(3) { opacity: .8; }
.auth-page .back-link {
  display: block;
  margin: 0 0 24px;
  color: #526269;
  font-size: 12px;
  font-weight: 600;
}
.auth-page .back-link:hover { color: #235ea8; }
.auth-page .auth-kicker {
  margin: 0 0 13px;
  color: #235ea8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
}
.auth-page .login-title {
  margin: 0 0 10px;
  color: #1b292f;
  font-weight: 600;
  font-size: clamp(31px, 4vw, 41px);
  line-height: 1.13;
  letter-spacing: -.06em;
}
.auth-page .login-subtitle {
  color: #607278;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 27px;
}
.auth-page .form-group { margin-bottom: 18px; }
.auth-page .form-group label {
  display: block;
  margin-bottom: 7px;
  color: #4d6169;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.auth-page .form-group input {
  display: block;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #becac8;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: #1b292f;
  font-size: 15px;
}
.auth-page .form-group input::placeholder { color: #899898; }
.auth-page .form-group input:focus {
  border-color: #235ea8;
  outline: 3px solid rgba(35,94,168,.15);
  outline-offset: 0;
  background: white;
}
.auth-page .btn.btn-primary {
  min-height: 53px;
  border: 1px solid #235ea8;
  border-radius: 4px;
  background: #235ea8;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
.auth-page .btn.btn-primary:hover {
  background: #15487e;
  border-color: #15487e;
}
.auth-page .muted {
  color: #6f8183;
  font-size: 13px;
  line-height: 1.7;
}
.auth-page .muted a { color: #235ea8; font-weight: 600; }
.auth-page .muted a:hover { text-decoration: underline; }
.auth-page .alert {
  font-size: 13px;
  border-radius: 4px;
  margin: 15px 0;
}
.auth-page .alert-success { color: #315f42; background: #e5f0e8; border: 1px solid #b7d5c0; }
.auth-page .alert-error { color: #922f2c; background: #f9eceb; border: 1px solid #ecc4be; }
@media(max-width: 520px) {
  .auth-page .login-wrap { padding: 20px 13px; align-items: flex-start; }
  .auth-page .login-card { padding: 30px 23px 27px; }
  .auth-page .login-title { font-size: 33px; }
  .auth-page .auth-brand { margin-bottom: 21px; }
}
@media(prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { transition-duration: .01ms !important; }
}
