* { box-sizing: border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; background:#f8fafc; color:#0f172a;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing:antialiased; }
main { width:100%; padding:20px; }
.box { max-width:380px; margin:0 auto; background:#fff; border:1px solid #e2e8f0; border-radius:22px; padding:30px 26px;
  box-shadow:0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.08); }
.box img { display:block; border-radius:14px; margin-bottom:12px; }
h1 { font-size:1.4rem; margin:0 0 16px; letter-spacing:-.02em; }
label { display:block; font-size:.9rem; color:#64748b; font-weight:600; margin:14px 0 6px; }
input[type=text], input[type=password] { width:100%; padding:13px 14px; font-size:1rem; border:1px solid #cbd5e1; border-radius:12px; }
input:focus { outline:2px solid #bfdbfe; border-color:#2563eb; }
label.check { display:flex; gap:8px; align-items:center; font-weight:400; color:#0f172a; }
.nota { font-size:.82rem; color:#64748b; margin:4px 0 0; line-height:1.4; }
button { width:100%; margin-top:20px; padding:14px; font-size:1.05rem; font-weight:600; border:0; border-radius:12px; background:#2563eb; color:#fff; cursor:pointer; }
.errore { background:#fdeceb; color:#b91c1c; border:1px solid #f3c0bd; border-radius:10px; padding:10px 12px; font-size:.92rem; }
