/* Shared sign-in appearance for administration and the worker portal. */
.auth-page {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #0b111a;
  color: #e7eff9;
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-page, .auth-page * { box-sizing: border-box; }
.auth-card {
  width: min(100%, 440px);
  border: 1px solid #304258;
  border-radius: 22px;
  padding: 32px;
  background: #101b29;
  box-shadow: 0 18px 60px #0004;
}
.auth-brand {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #254d81;
  font-weight: 800;
}
.auth-card h1 { font-size: 25px; margin: 22px 0 12px; }
.auth-card p { color: #b5c5d9; line-height: 1.55; }
.auth-card label { display: block; margin: 17px 0 7px; font-weight: 600; }
.auth-card input, .auth-card button { width: 100%; border-radius: 10px; padding: 13px; font: inherit; }
.auth-card input { border: 1px solid #405671; background: #0b1420; color: inherit; }
.auth-card input:focus-visible, .auth-card button:focus-visible, .auth-card a:focus-visible { outline: 3px solid #7ab8ff; outline-offset: 3px; }
.auth-card button { margin-top: 24px; border: 0; background: #4082dc; color: white; font-weight: 700; cursor: pointer; }
.auth-card button:disabled { opacity: .6; cursor: wait; }
.auth-card a { color: #9ec9ff; }
.auth-link { display: block; margin-top: 22px; font-size: 14px; }
.auth-card [role="status"] { min-height: 1.5em; color: #e5c693; }
.auth-card [role="status"].wf-error { color: #e5c693 !important; }
.auth-card [hidden] { display: none; }
@media (max-width: 480px) {
  .auth-page { padding: 16px; }
  .auth-card { padding: 24px; }
}
