/* pagine di accesso e privacy di xtre.it (31/10/2026): stessi token di xtre.css, che non va modificato */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--f-sans); }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.contenitore { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.testata { border-bottom: 1px solid var(--border); background: var(--surface); }
.testata .contenitore { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marchio img { display: block; width: 112px; height: 27px; }
.indietro { color: var(--fg2); text-decoration: none; font-weight: 500; }
.indietro::before { content: "← "; }
main.contenitore { padding-top: 48px; padding-bottom: 64px; }
.pannello { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(22px, 5vw, 40px); box-shadow: var(--ombra); }
.occhiello { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
h1 { font-size: clamp(28px, 5vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin: 6px 0 10px; }
.intro { color: var(--fg2); margin: 0 0 24px; }
.schede { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; }
.schede button { font: inherit; font-weight: 600; font-size: 15px; padding: 9px; border: 0; border-radius: 9px; background: transparent; color: var(--fg2); cursor: pointer; }
.schede button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--ombra); }
.modulo { display: grid; gap: 14px; }
.modulo[hidden] { display: none; }
.modulo label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.modulo input:not([type=checkbox]), .modulo select { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border: 1px solid var(--border2);
  border-radius: 10px; background: var(--surface); color: var(--fg); width: 100%; }
.modulo .due { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .modulo .due { grid-template-columns: 1fr; } }
.modulo .spunta { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--fg2); line-height: 1.45; }
.modulo .spunta input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.trappola { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bottone { font: inherit; font-weight: 600; padding: 13px 20px; border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer; }
.bottone:disabled { opacity: .55; cursor: progress; }
.esito { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface2); }
.esito.ok { border-color: var(--verde); background: var(--verde-l); }
.esito.errore { border-color: var(--rischio-alto-fg, #a1261d); background: var(--rischio-alto, #fde2e1); color: var(--rischio-alto-fg, #a1261d); }
.piccolo { font-size: 14px; color: var(--fg2); margin: 20px 0 0; }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--fg2); font-size: 14px; }

/* informativa privacy */
.testo-lungo { max-width: 760px; margin: 0 auto; }
.testo-lungo h1 { margin-top: 0; }
.testo-lungo h2 { font-size: 20px; margin: 32px 0 8px; letter-spacing: -.01em; }
.testo-lungo p, .testo-lungo li { color: var(--fg2); }
.testo-lungo table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.testo-lungo th, .testo-lungo td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.testo-lungo th { color: var(--fg); background: var(--surface2); }
.testo-lungo code { font-family: var(--f-mono); font-size: 14px; }
/* Registrazioni chiuse: avviso al posto del modulo "Registrati" */
.avviso-chiuse { padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface2); }
.avviso-chiuse h2 { font-size: 20px; margin: 0 0 8px; }
.avviso-chiuse p { margin: 6px 0; }
.avviso-chiuse .modulo { margin-top: 14px; } /* lista d'attesa (07/11/2026) */
.link { font: inherit; color: inherit; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
