/* Banner dei cookie (dalla 1.8.0). Stile proprio, indipendente da landing.css,
   così funziona anche sulle pagine fuori dal modello «Landing Prodability».
   «Rifiuta» e «Accetta» hanno lo stesso aspetto: nessuna delle due spinge. */

.pb-consenso {
  position: fixed; z-index: 99999; left: 0; right: 0; bottom: 0;
  padding: 0 1rem 1rem; pointer-events: none;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.pb-consenso[hidden] { display: none; }

.pb-consenso-card {
  position: relative; box-sizing: border-box; pointer-events: auto;
  max-width: 40rem; margin: 0 auto; padding: 1.25rem 3rem 1.25rem 1.25rem;
  background: #fff; color: #090A3A; border-radius: 1rem;
  border: 1px solid rgba(9, 10, 58, .12); box-shadow: 0 12px 32px rgba(9, 10, 58, .22);
}

.pb-consenso-titolo { margin: 0 0 .375rem; font-size: 1rem; line-height: 1.4; font-weight: 700; }
.pb-consenso-testo { margin: 0; font-size: .875rem; line-height: 1.5; color: #2b2c55; }
.pb-consenso-testo a { color: #090A3A; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.pb-consenso-azioni { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.pb-consenso-btn {
  flex: 1 1 8rem; min-height: 44px; padding: .625rem 1.25rem; cursor: pointer;
  font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2;
  color: #fff; background: #090A3A; border: 2px solid #090A3A; border-radius: 999px;
}
.pb-consenso-btn:hover { background: #1c1d5c; border-color: #1c1d5c; }

.pb-consenso-chiudi {
  position: absolute; top: .375rem; right: .375rem; width: 44px; height: 44px; padding: 0; cursor: pointer;
  font: inherit; font-size: 1.5rem; line-height: 1; color: #090A3A; background: transparent; border: 0; border-radius: 999px;
}
.pb-consenso-chiudi:hover { background: rgba(9, 10, 58, .06); }

.pb-consenso-btn:focus-visible,
.pb-consenso-chiudi:focus-visible,
.pb-consenso-testo a:focus-visible { outline: 3px solid #FF5137; outline-offset: 2px; }

/* Link «Preferenze cookie» nella riga legale delle landing (sfondo blu). */
.pb-lp-cookie-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pb-lp-cookie-link:hover { color: #fff; }
