:root {
  --accent: #1667C7; --accent-dark: #1254A3;
  --bg: #F6F7F9; --card: #fff; --text: #16212F; --muted: #5A6B7D;
  --line: #CFD8E3; --err: #b0202a; --ok: #1d7d3f;
}
/* jobHunt Sans, il carattere dell'interfaccia (22 ottobre): Inter 4.0 con
   la l con la coda e la I con le grazie, rinominato (tools/make_font.py,
   licenza SIL OFL accanto ai file). In locale, nessuna chiamata esterna.
   Latin Modern Mono resta per i codici. */
@font-face { font-family: "jobHunt Sans"; font-style: normal; font-weight: 400;
             font-display: swap; src: url("/static/fonts/jobhuntsans-regular.woff") format("woff"); }
@font-face { font-family: "jobHunt Sans"; font-style: normal; font-weight: 500;
             font-display: swap; src: url("/static/fonts/jobhuntsans-medium.woff") format("woff"); }
@font-face { font-family: "jobHunt Sans"; font-style: normal; font-weight: 600;
             font-display: swap; src: url("/static/fonts/jobhuntsans-semibold.woff") format("woff"); }
@font-face { font-family: "jobHunt Sans"; font-style: normal; font-weight: 700;
             font-display: swap; src: url("/static/fonts/jobhuntsans-bold.woff") format("woff"); }
@font-face { font-family: "jobHunt Sans"; font-style: italic; font-weight: 400;
             font-display: swap; src: url("/static/fonts/jobhuntsans-italic.woff") format("woff"); }
@font-face { font-family: "Latin Modern Mono"; font-style: normal; font-weight: 400;
             font-display: swap; src: url("/static/fonts/lmmono10-regular.otf") format("opentype"); }
* { box-sizing: border-box; }
/* jobHunt Sans ha l'occhio grande: font-size-adjust lo tiene alla
   misura per cui sono pensate le pagine */
body {
  font-size-adjust: 0.5;
  margin: 0; min-height: 100vh;
  font-family: "jobHunt Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #1667C7 0%, #1254A3 55%, #0E3A6E 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.auth-wrap { width: 100%; max-width: 440px; }
.auth-card {
  background: var(--card); border-radius: 16px; padding: 30px 30px 26px;
  box-shadow: 0 18px 50px rgba(10, 35, 70, .35);
}
.brand { text-align: center; margin-bottom: 22px; }
.brand-mark { font-size: 28px; font-weight: 700; color: var(--accent-dark); letter-spacing: -.5px; }
.brand-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

.links[hidden] { display: none; }

.view { display: flex; flex-direction: column; gap: 13px; }
.row2 { display: flex; gap: 12px; }
.row2 > label { flex: 1; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
input, select {
  font: inherit; font-weight: 400; color: var(--text);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,111,194,.15); }

button.primary {
  margin-top: 4px; background: var(--accent); color: #fff; border: 0;
  padding: 12px; border-radius: 9px; font-size: 15px; font-weight: 600; cursor: pointer;
}
button.primary:hover { background: var(--accent-dark); }
button.primary:disabled { opacity: .6; cursor: default; }

.links { text-align: center; margin-top: 4px; }
.links a, .intro a { color: var(--accent); text-decoration: none; font-size: 13px; }
.links a:hover { text-decoration: underline; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400;
              font-size: 13px; color: var(--text); cursor: pointer; }
label.check input { width: auto; }
.hint, .intro { font-size: 12px; color: var(--muted); line-height: 1.5; }
.intro { margin: 0 0 4px; }

.msg { padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
.msg.error { background: #fdeaea; color: var(--err); border: 1px solid #f3c5c5; }
.msg.ok { background: #e7f5ec; color: var(--ok); border: 1px solid #c3e6cf; }

.foot { text-align: center; color: rgba(255,255,255,.85); font-size: 12px; margin-top: 16px; }

@media (max-width: 460px) {
  .auth-card { padding: 24px 18px; }
  .row2 { flex-direction: column; gap: 13px; }
}
button, input, select, textarea { font-family: inherit; font-size-adjust: inherit; }

/* Le due caselle della registrazione: testo lungo, casella in alto a sinistra */
label.check.accetta { align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--text); }
label.check.accetta input { margin-top: 3px; flex: none; }
label.check.accetta a { color: var(--accent); }
.foot a { color: #fff; }

