/* 20/10/2026 — PASSTOO «Riscatta la scheda». Palette PASSTOO: petrolio, mandarino, crema; Manrope. */
:root { --p: #0E3F45; --p5: #447278; --m: #F2793A; --n: #002328; --c: #FAEFE3; --c5: #FFF9F3; --c3: #DECEBC; --ok: #1F7A4A; --err: #A12A1E; }
* { box-sizing: border-box; }
body.rs { margin: 0; min-height: 100vh; background: var(--c); color: var(--p); font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.rs-top { background: var(--p); color: #A9C3C4; display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-weight: 700; font-size: 14px; }
.rs-top img { height: 30px; width: auto; }
.rs-pagina { display: flex; justify-content: center; padding: 28px 16px 48px; }
.rs-box { width: min(480px, 100%); background: var(--c5); border: 1px solid var(--c3); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; min-height: 640px; box-shadow: 0 14px 40px rgba(14, 63, 69, .10); }
.rs-carico { margin: auto; color: var(--p5); font-weight: 700; }
.rs-barra-w { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.rs-riga { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--p5); }
.rs-barra { height: 6px; border-radius: 999px; background: #E9DCCB; overflow: hidden; }
.rs-barra span { display: block; height: 100%; background: var(--m); border-radius: 999px; transition: width .25s; }
.rs-corpo { flex: 1; padding: 18px 20px 12px; display: flex; flex-direction: column; gap: 14px; }
.rs-corpo > * { flex-shrink: 0; }
.rs-dom { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--p); outline: none; }
.rs-aiuto { margin: 0; font-size: 16px; line-height: 1.5; color: var(--p5); font-weight: 600; }
.rs-aiuto b { color: var(--p); }
.rs-piede { padding: 12px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.rs-avanti { min-height: 58px; border: 0; border-radius: 16px; background: var(--m); color: var(--n); font: 800 18px "Manrope", sans-serif; cursor: pointer; }
.rs-avanti:hover { background: #FE8F5A; }
.rs-avanti[disabled] { opacity: .6; cursor: default; }
.rs-secondo { min-height: 44px; border: 0; background: none; color: var(--p); font: 700 16px "Manrope", sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rs-card { border-radius: 20px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--c3); }
.rs-cop { height: 140px; background: #FFE5D6; color: #943500; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; position: relative; overflow: hidden; }
.rs-cop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-info { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.rs-info b { font-size: 18px; } .rs-info span { font-size: 13px; color: var(--p5); font-weight: 600; }
.rs-bollo { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--m); color: var(--n); }
.rs-codice { display: flex; gap: 8px; justify-content: center; }
.rs-codice input { width: 46px; height: 58px; border-radius: 12px; border: 2px solid var(--c3); background: #FFFFFF; text-align: center; font: 800 26px "Manrope", sans-serif; color: var(--p); }
.rs-codice input:focus { outline: none; border-color: var(--p); }
.rs-nota { padding: 12px 14px; border-radius: 14px; background: #E0EAEC; color: var(--p); font-size: 14px; line-height: 1.45; font-weight: 600; }
.rs-ok { padding: 12px 14px; border-radius: 14px; background: #D7F2E3; color: #0F4D2C; font-size: 14px; line-height: 1.45; font-weight: 600; }
.rs-errore { margin: 0; padding: 12px 14px; border-radius: 14px; background: #FBE3DF; color: var(--err); font-size: 15px; font-weight: 700; }
.rs-campi { display: flex; flex-direction: column; gap: 10px; }
.rs-campi label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 800; color: var(--p5); }
.rs-campi input { width: 100%; min-width: 0; min-height: 50px; border: 2px solid var(--c3); border-radius: 12px; padding: 0 12px; font: 600 17px "Manrope", sans-serif; color: var(--p); background: #FFFFFF; }
.rs-campi input:focus { outline: none; border-color: var(--p); }
.rs-due { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-dati { display: flex; flex-direction: column; }
.rs-dato { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c3); font-size: 15px; }
.rs-dato span { color: var(--p5); font-weight: 600; } .rs-dato b { text-align: right; overflow-wrap: anywhere; }
.rs-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--c3); background: #FFFFFF; font: 700 15px "Manrope", sans-serif; color: var(--p); margin: 0 6px 6px 0; cursor: pointer; }
.rs-pill.is-si { background: var(--p); border-color: var(--p); color: #FFFFFF; }
.rs-foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rs-foto label, .rs-logo { aspect-ratio: 1; border-radius: 14px; border: 2px dashed #C9B49C; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--p5); cursor: pointer; overflow: hidden; position: relative; text-align: center; }
.rs-foto img, .rs-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-logo { width: 84px; flex-shrink: 0; }
.rs-carica { opacity: .6; }
.rs-biglietto { border-radius: 16px; background: var(--m); color: var(--n); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.rs-biglietto b { font-size: 28px; } .rs-biglietto span { font-size: 13px; font-weight: 800; }
.rs-chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 600; cursor: pointer; }
.rs-chk input { width: 22px; height: 22px; margin: 0; accent-color: var(--p); flex-shrink: 0; }
.rs-chk a, .rs-legale a { color: var(--p); }
.rs-legale { margin: 0; font-size: 13px; line-height: 1.5; color: var(--p5); font-weight: 600; }
.rs-legale button { border: 0; background: none; padding: 0; font: inherit; color: var(--p); text-decoration: underline; cursor: pointer; }
.rs-fatto { align-items: center; justify-content: center; text-align: center; }
.rs-fatto__ok { width: 92px; height: 92px; border-radius: 999px; background: #D7F2E3; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.rs-mappa { height: 170px; border-radius: 14px; overflow: hidden; border: 1px solid var(--c3); background: #E0EAEC; }
.rs-mappa iframe { width: 100%; height: 100%; border: 0; }
.rs :focus-visible { outline: 3px solid var(--m); outline-offset: 2px; }
.rs-dom:focus-visible { outline: none; }
@media (max-width: 520px) {
  .rs-pagina { padding: 0; }
  .rs-box { border-radius: 0; border: 0; min-height: calc(100vh - 58px); box-shadow: none; }
}

/* 21/10/2026: «Questo è il tuo locale?» — indirizzo, telefono e sito per riconoscerlo */
.rs-det { margin-top: 12px; border: 1px solid var(--c3); border-radius: 16px; background: #FFFFFF; padding: 4px 14px; }
.rs-det__r { display: grid; grid-template-columns: 84px 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #EFE4D7; align-items: baseline; }
.rs-det__r:last-child { border-bottom: 0; }
.rs-det__r span { font-size: 13px; font-weight: 700; color: var(--p5); }
.rs-det__r b { font-size: 15px; font-weight: 700; color: var(--p); overflow-wrap: anywhere; }
.rs-det__map { grid-column: 2; font-size: 13px; font-weight: 800; color: var(--p); }

/* 21/10/2026: passo 5 «Attiva promozioni» (tetto in euro sopra lo sconto in %) */
.rg { border: 1px solid var(--c3); border-radius: 18px; background: #FFFFFF; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rg__t { display: flex; align-items: center; gap: 10px; }
.rg__t b { font-size: 17px; color: var(--p); }
.rg__bollo { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--m); color: var(--p); white-space: nowrap; }
.rg__bollo.is-v { background: var(--p); color: #FFFFFF; }
.rg__d { margin: 0; font-size: 14px; line-height: 1.45; color: var(--p5); font-weight: 600; }
.rg__l { font-size: 13px; font-weight: 800; color: var(--p5); margin-top: 4px; }
.rg__p { display: flex; flex-wrap: wrap; gap: 8px; }
.rg__p .rs-pill { margin: 0; }
.rg__es { font-size: 13px; line-height: 1.45; color: #0F4D2C; background: #D7F2E3; border-radius: 12px; padding: 10px 12px; }
.rg__n { margin: 0; font-size: 13px; line-height: 1.45; color: var(--p5); font-weight: 700; }
/* popup del «Salta, non adesso» */
.rs-box { position: relative; }
.pp-velo { position: fixed; inset: 0; background: rgba(14, 63, 69, .55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; padding: 0 0 env(safe-area-inset-bottom, 0px); }
.pp { background: var(--c5); border-radius: 26px 26px 0 0; width: min(520px, 100%); max-height: 92vh; overflow: auto; padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
.pp__man { width: 44px; height: 5px; border-radius: 9px; background: #E3D6C6; align-self: center; }
.pp h2 { margin: 0; font-size: 22px; line-height: 1.2; color: var(--p); outline: none; }
.pp__sub { margin: -4px 0 0; font-size: 15px; line-height: 1.45; color: var(--p5); font-weight: 600; }
.pp__perdi { display: flex; flex-direction: column; gap: 10px; }
.pp__x { display: flex; gap: 12px; align-items: flex-start; background: #FFFFFF; border: 1px solid #EADCCB; border-radius: 16px; padding: 12px; }
.pp__x i { font-style: normal; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 999px; flex-shrink: 0; background: var(--m); color: var(--p); }
.pp__x i.v { background: var(--p); color: #FFFFFF; }
.pp__x b { display: block; font-size: 15px; color: var(--p); }
.pp__x small { display: block; font-size: 13px; line-height: 1.4; color: var(--p5); font-weight: 600; margin-top: 2px; }
.pp__zona { background: #FFE5D6; border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: #5A2200; }
/* «Fatto»: cosa succede adesso */
.rs-a { display: flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.ft-top { display: flex; gap: 14px; align-items: center; }
.ft-ok { width: 64px; height: 64px; flex-shrink: 0; }
.ft-attive { display: flex; flex-direction: column; gap: 8px; }
.ft-attive > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: #FFFFFF; border: 1px solid var(--c3); border-radius: 14px; padding: 10px 12px; }
.ft-attive b { font-size: 15px; color: var(--p); }
.ft-attive small { grid-column: 2; font-size: 13px; color: var(--p5); font-weight: 600; }
.ft-attive .rg__bollo { grid-row: span 2; }
.ft-lab { margin: 6px 0 -2px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #943500; }
.ft-passi { margin: 0; padding: 0; list-style: none; counter-reset: ft; display: flex; flex-direction: column; gap: 12px; }
.ft-passi li { counter-increment: ft; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.ft-passi li::before { content: counter(ft); grid-row: span 2; width: 30px; height: 30px; border-radius: 15px; background: #FFE5D6; color: #943500; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ft-passi b { font-size: 15px; color: var(--p); }
.ft-passi small { font-size: 13.5px; line-height: 1.45; color: var(--p5); font-weight: 600; }
.ft-prepara { background: #D7F2E3; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; color: #0F4D2C; }
.ft-prepara b { font-size: 15px; }
.ft-prepara small { font-size: 13.5px; line-height: 1.45; font-weight: 600; }
.rs-secondo.rs-a { text-decoration: underline; text-underline-offset: 4px; }

/* 21/10/2026: «Accedi con Google / Apple» con i loghi; password come terza strada */
.rs-marche { display: flex; flex-direction: column; gap: 10px; }
.rs-marca { min-height: 56px; width: 100%; border: 2px solid var(--p); border-radius: 16px; background: #FFFFFF; color: var(--p); font: 800 17px "Manrope", sans-serif; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; padding: 0 16px; }
.rs-marca:hover { background: #F3ECE3; }
.rs-marca[disabled] { opacity: .6; cursor: default; }
.rs-marca--apple { background: #000000; border-color: #000000; color: #FFFFFF; }
.rs-marca--apple:hover { background: #1F1F1F; }
.rs-marca--pw { min-height: 50px; font-size: 16px; }
.rs-oppure { display: flex; align-items: center; gap: 12px; color: var(--p5); font-size: 14px; font-weight: 700; }
.rs-oppure::before, .rs-oppure::after { content: ""; flex: 1; height: 1px; background: var(--c3); }

/* 22/10/2026: dati del titolare per l'informativa (passo «Attiva promozioni») */
.rg--priv { background: #E0EAEC; border-color: #C9DADD; }
.rg--priv .rs-campi { margin-top: 4px; }
