/* Mirrors the react-corecatering /login page (Tailwind tokens, hand-written). */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("NotoSans-latin.woff2") format("woff2");
}
:root {
  --core-charcoal: #2c2d33;
  --core-dark: #1c1c21;
  --core-buy: #7ba632;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--core-charcoal);
  font-family: "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bar {
  background: var(--core-dark);
  display: flex;
  align-items: center;
  padding: 12px 5%;
}
.logo { height: 40px; width: auto; display: block; }
@media (min-width: 1280px) { .logo { height: 70px; } }
.panel {
  width: 90%;
  max-width: 28rem;
  min-height: 60vh;
  margin: 0 auto;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
}
h1 { margin: 0; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.lede { margin: .5rem 0 0; font-size: .875rem; color: rgba(0,0,0,.6); }
.form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.label { display: block; margin-bottom: .25rem; font-size: .875rem; font-weight: 600; }
.req { color: #dc2626; }
.field {
  width: 100%;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .375rem;
  padding: .5rem .75rem;
  font: inherit;
  font-size: .875rem;
  color: #000;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field:focus { outline: none; border-color: var(--core-buy); box-shadow: 0 0 0 1px var(--core-buy); }
.pw { position: relative; }
.pad-r { padding-right: 2.5rem; }
.eye {
  position: absolute; top: 0; bottom: 0; right: 0; width: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: none; cursor: pointer; color: rgba(0,0,0,.4); transition: color .15s;
}
.eye:hover { color: #000; }
.icon { width: 1.25rem; height: 1.25rem; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .875rem; cursor: pointer; }
.check input { width: 1rem; height: 1rem; cursor: pointer; accent-color: var(--core-buy); }
.error { margin: 0; font-size: .875rem; font-weight: 600; color: #dc2626; }
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  border: 0; border-radius: .375rem; padding: .75rem 1.5rem;
  background: var(--core-charcoal); color: #fff;
  font: inherit; font-weight: 600; text-transform: uppercase; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost {
  background: none; color: var(--core-charcoal); text-transform: none;
  border: 1px solid rgba(44,45,51,.25);
}
.btn.ghost:hover { background: rgba(0,0,0,.03); border-color: var(--core-charcoal); }
.help { margin: 1rem 0 0; text-align: center; font-size: .875rem; color: rgba(0,0,0,.6); }
/* Hide the form until the session check finishes, so a signed-in reader never sees it flash. */
.checking .panel { visibility: hidden; }
[hidden] { display: none !important; }
