/* app/css/66-auth-pages.css — estratto da app.css (2026-07, split senza build). */
/* === Auth pages (welcome, email_sent, whatsapp_sent, invalid_link) === */
.auth-icon-avatar {
  margin: 40px auto 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-icon-avatar--welcome { margin-top: 32px; }
.auth-icon-avatar--whatsapp { background: #DCFCE7; color: var(--whatsapp); }
.auth-icon-avatar--warn { background: #FEF3C7; color: var(--gold); }
.auth-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 24px;
}
.auth-hint-box {
  margin-top: 32px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.auth-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.auth-btn-primary {
  margin-top: 0;
  display: block;
  text-align: center;
  text-decoration: none;
}
.auth-secondary-link {
  padding: 14px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.auth-secondary-link--disabled { opacity: 0.5; }
.auth-secondary-link-sub {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-top: 2px;
}
.auth-demo-tag {
  opacity: 0.7;
  font-size: 11px;
  font-weight: 500;
}

/* Welcome bonus box (riusa stat-brand-box ma con margin diverso) */
.welcome-bonus-box {
  margin: 24px 0 0;
  padding: 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 16px;
  text-align: center;
}

/* menu-row a usato anche come link: reset look. menu-row gia' definito altrove */
a.menu-row { text-decoration: none; color: inherit; }
.menu-group--mt18 { margin-top: 18px; }
.ttl-danger { color: var(--danger); }

/* btn-secondary · variante "outline neutra" per coppia con btn-primary */
.btn-secondary {
  padding: 16px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  transition: background 120ms ease, transform 80ms ease;
}
.btn-secondary:active { background: var(--line); }

/* Selettore lingua app cliente (replica pattern dashboard impostazioni_lingua) */
label.menu-row.lang-row { cursor: pointer; position: relative; }
.lang-row .lang-iso {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
/* Feedback visivo selection · CSS :has() su radio:checked (no JS, no server reload) */
.lang-row:has(.lang-radio:checked) {
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}
.lang-row .lang-radio {
  position: absolute; opacity: 0; pointer-events: none;
  width: 0; height: 0;
}
.lang-row .lang-check {
  color: var(--brand);
  margin-left: auto;
  flex-shrink: 0;
  display: none;
}
.lang-row:has(.lang-radio:checked) .lang-check { display: block; }


/* Tessera detail */
.btn-cancel--full-narrow {
  margin-top: 14px;
  width: 100%;
}

/* Dati personali form-screen tighter padding */
.form-screen--pad-18 { padding-top: 18px; }
.form-screen--pad-6 { padding-top: 6px; }

/* Voucher banner margin-bottom */
.voucher-banner--mb-16 { margin-bottom: 16px; }

/* Inline tag color ink-2 */
.color-ink-2-text { color: var(--ink-2); }

/* Fatture month summary */
.month-summary-pill {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
}
.partita-iva-cta {
  margin: 18px 18px 24px;
  padding: 14px;
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 12px;
  color: var(--brand);
  line-height: 1.5;
}
.partita-iva-link {
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
}

/* Termini privacy contacts link */
.link-brand {
  color: var(--brand);
  font-weight: 700;
}

/* Field read-only display (es. data nascita lato cliente, memoria feedback_data_nascita_protetta) */
.field-readonly { margin-bottom: 16px; }
.field-readonly .readonly-value {
  padding: 12px 14px;
  background: var(--bg-soft, #F5F6F8);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 600;
}
.field-readonly .link-brand { display: inline-block; margin-top: 8px; font-size: 14px; }
.doc-version-tag {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 24px;
}

/* Borsellino */
.balance-strip--static {
  cursor: default;
  margin-top: 14px;
}
.bors-load-older {
  margin: 12px 18px 0;
  width: calc(100% - 36px);
}

/* Notifiche promo hint */
.promo-hint {
  padding: 0 18px;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Tessera card (tessera.html) */
a.card-tessera-v {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
a.purse-card {
  text-decoration: none;
  color: inherit;
}
.satispay-cta-arrow { color: var(--ink-3); }

/* Lavanderia page */
.lab-star-favorite {
  color: var(--brand);
  vertical-align: -2px;
}
.no-booking-note {
  margin: 14px 18px 0;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.libere-pill--ok {
  color: var(--ok-text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 700;
}

/* Booking modal saldo/error */
.bm-saldo-info {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}
.bm-error {
  margin-top: 12px;
  padding: 12px 14px;
  background: #FEE2E2;
  border: 1px solid var(--danger);
  border-radius: 10px;
  font-size: 13px;
  color: var(--danger);
  font-weight: 600;
}

/* Video player page */
.video-h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.video-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.video-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 14px;
}
.tip-box {
  margin-top: 18px;
  padding: 14px;
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 13px;
  color: var(--brand);
  line-height: 1.5;
}

/* Ticket card (miei_ticket) */
a.voucher-card { padding-right: 16px; display: block; text-decoration: none; color: inherit; }
.ticket-head-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticket-icon { color: var(--ink-2); }
.ticket-kind-label {
  font-weight: 700;
  font-size: 14px;
}
.ticket-excerpt {
  font-size: 13px;
  color: var(--ink-2);
  margin: 6px 0 8px;
  line-height: 1.4;
}
.ticket-reply-flag {
  color: var(--ok-text);
  font-weight: 700;
}
/* Risposta non ancora letta dal cliente: spicca col colore brand + pallino. */
.ticket-reply-flag--new {
  color: var(--brand);
  font-weight: 800;
}
.ticket-reply-flag--new::before {
  content: "\25CF\00A0";
}

/* Sicurezza passkey flashes */
.flash--margin-page { margin: 12px 18px 0; }

/* passkey add cta */
.passkey-add-cta-wrap { padding: 0 18px; }
.passkey-status-line {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.passkey-delete-form { margin: 0; }

/* Promo lista mockup banner (W8 chunk 5 · C6) */
.promo-mockup-banner {
  margin: 12px 18px 0;
  padding: 12px 14px;
  background: var(--info-soft, #EEF4FF);
  border: 1px solid var(--info, #4A6CF7);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.promo-mockup-banner-icon {
  color: var(--info-text, #2C4DDB);
  flex-shrink: 0;
  margin-top: 2px;
}
.promo-mockup-banner-body {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--info-text, #2C4DDB);
}

/* Promo lista — fid hero heading inline icon */
.fid-hero-h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Fase 2 · blocco reale /app/promo */
/* Banner promo RIUSABILE: stessa struttura di .geo-strip (icona-chip + testo, soft
   bg, bordo, radius 14px, margini 12px 18px 0). Estendibile ad altre promo aggiungendo
   una variante .promo-banner--<tipo> con coppia bg/colore da token.
   --reward = sconto/risparmio (verde token --ok-soft/--ok-text). */
.promo-banner { display: flex; align-items: center; gap: 11px; margin: 12px 18px 0; padding: 11px 12px; border-radius: 14px; border: 1px solid transparent; }
.promo-banner .pb-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.promo-banner .pb-ico .i { width: 17px; height: 17px; }
.promo-banner .pb-txt { font-size: 13px; font-weight: 800; line-height: 1.3; }
.promo-banner--reward { background: var(--ok-soft); border-color: var(--ok-border); }
.promo-banner--reward .pb-ico, .promo-banner--reward .pb-txt { color: var(--ok-text); }
/* Banner extra-sconto su due righe: titolo (eredita 13px/800 da .pb-txt) + dettaglio. */
.promo-banner--reward .pb-txt { display: flex; flex-direction: column; gap: 2px; }
.promo-banner .pb-sub { font-size: 12px; font-weight: 600; line-height: 1.3; opacity: .85; }
.promo-storico { margin-top: 8px; }
.promo-empty { margin-top: 8px; }

/* Referral text */
.referral-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.copy-ico-inline {
  margin-right: 4px;
  vertical-align: -2px;
}

/* Login CTA box compatto (aiuto_public) */
.login-cta-box {
  margin: 24px 18px 0;
  padding: 16px;
  background: var(--brand-soft);
  border-radius: 14px;
  text-align: center;
}
.login-cta-box-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.login-cta-box-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* Voucher detail */
.vc-head--compact { margin: 4px 4px 14px; }
.vc-amount--lg { font-size: 32px; }
.voucher-qr-frame--disabled { background: var(--bg); }
.menu-row--static { cursor: default; }
.form-screen--tight { padding-top: 12px; }
.intro-meta {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

/* Colored ico backgrounds per aiuto.html (categorie video guida) */
.ico-brand { background: var(--brand-soft); color: var(--brand); }
.ico-info { background: #DBEAFE; color: var(--info); }
.ico-gold { background: #FEF3C7; color: var(--gold); }
.ico-purple { background: #DDD6FE; color: #5B21B6; }
.ico-pink { background: #FBCFE8; color: #9D174D; }
.ico-danger { background: #FECACA; color: var(--danger); }

/* Surprise hint (onboarding_complete) */
.surprise-hint {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 12px;
  color: var(--brand);
  line-height: 1.5;
}
.surprise-hint-body {
  color: var(--ink-2);
  font-weight: 500;
}

