/* Pagine di accesso (amministrazione e area allievi), stile del sito pubblico */
:root { --navy: #0b1b33; --blu: #2858a8; --oro: #f2b33d; --testo: #172033; --grigio: #5b6679; --bordo: #e3e8f0; --cielo: #e8f0fc; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--testo); background: #fff; }
h1, h2 { font-family: Sora, Inter, sans-serif; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 10px; }
a { color: var(--blu); }
.nascosto { display: none !important; }
.accesso { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.lato-img { position: relative; background: var(--navy) center/cover no-repeat; display: flex; align-items: flex-end; }
.lato-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 40, .15) 0%, rgba(8, 20, 40, .88) 75%); }
.lato-testo { position: relative; color: #fff; padding: 56px; max-width: 560px; }
.lato-testo h2 { font-size: 36px; color: #fff; }
.lato-testo p { opacity: .9; font-size: 17px; line-height: 1.6; margin: 0; }
.punti { list-style: none; padding: 0; margin: 16px 0 0; font-size: 17px; line-height: 2; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); margin-bottom: 10px; }
.lato-form .kicker { color: var(--blu); }
.lato-form { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; position: relative; }
.logo { position: absolute; top: 28px; left: 32px; line-height: 0; }
.logo img { height: 34px; }
.box { width: 100%; max-width: 400px; }
.box h1 { font-size: 34px; }
.sotto { color: var(--grigio); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
form label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
form input { display: block; width: 100%; margin-top: 6px; padding: 14px 16px; border: 1.5px solid var(--bordo); border-radius: 12px; font: inherit; font-size: 16px; font-weight: 400; }
form input:focus { outline: none; border-color: var(--blu); box-shadow: 0 0 0 4px var(--cielo); }
.btn { display: flex; width: 100%; justify-content: center; align-items: center; padding: 15px 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; margin-top: 6px; }
.btn.primario { background: var(--oro); color: var(--navy); box-shadow: 0 8px 22px rgba(242, 179, 61, .35); }
.btn.primario:hover { background: #f7c35c; }
.btn:disabled { opacity: .6; cursor: wait; }
.errore { background: #fef2f2; color: #991b1b; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 10px; }
.conferma { background: #ecfdf3; border: 1px solid #86efac; color: #14532d; border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.conferma p { margin: 6px 0 0; line-height: 1.5; }
.altro { margin-top: 22px; font-size: 14.5px; color: var(--grigio); }
.altro a { font-weight: 700; text-decoration: none; }
.torna { position: absolute; bottom: 24px; font-size: 14px; color: var(--grigio); text-decoration: none; }
@media (max-width: 860px) {
  .accesso { grid-template-columns: 1fr; }
  .lato-img { min-height: 230px; order: -1; }
  .lato-testo { padding: 28px 22px; }
  .lato-testo h2 { font-size: 24px; }
  .lato-testo p, .punti { font-size: 15px; }
  .punti { line-height: 1.8; }
  .lato-form { padding: 70px 20px 70px; justify-content: flex-start; }
  .logo { top: 18px; left: 20px; }
}
