/* Pagina di accesso: stessi colori e carattere del sito, nessuna dipendenza dal resto. */
:root {
  --bg: #FFFFFF;
  --soft: #F6F7F9;
  --ink: #0B1220;
  --muted: #5B6474;
  --line: #E4E7EC;
  --line-2: #D0D5DD;
  --blue: #0A3FA8;
  --blue-ink: #072D78;
  --gold: #C99A1E;
  --red: #B42318;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 400 15px/1.5 var(--font); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { min-height: 100%; display: grid; place-items: center; padding: 32px 16px; }
.card { width: 100%; max-width: 400px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px 28px; display: grid; gap: 8px; box-shadow: 0 1px 2px rgba(11, 18, 32, .06); }
.stars { width: 72px; height: 72px; margin: 0 auto 8px; display: block; }
h1 { margin: 0; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.sub { margin: 0 0 16px; text-align: center; color: var(--muted); font-size: 14px; text-wrap: balance; }

label { font-weight: 600; font-size: 13px; margin-top: 6px; }
input { width: 100%; min-height: 44px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: var(--bg); }
input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10, 63, 168, .15); }
.pw { position: relative; }
.pw input { padding-right: 84px; }
.show { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--blue); font-size: 13px; font-weight: 600; cursor: pointer; }
.show:hover { background: var(--soft); }

.msg { min-height: 20px; margin: 4px 0 0; font-size: 13.5px; color: var(--red); }
.go { margin-top: 4px; min-height: 46px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; cursor: pointer; }
.go:hover { background: var(--blue-ink); }
.go:disabled { opacity: .55; cursor: progress; }

@media (max-width: 420px) { .card { padding: 28px 20px 22px; } }
