/* Banner cookie eivom — stessi colori e font dell'app (app.css): sfondo #0d0d0d/#111, bordo #2a2a2a, accento #3498db */
#sv-consent {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 100000; /* sopra la barra inferiore dell'app (z-index 250) */
  max-width: 720px;
  margin: 0 auto;
  background: #111;
  color: #ccc;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55);
  padding: 14px 40px 14px 16px;
  font: 13px/1.45 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}
#sv-consent[hidden] { display: none; }
/* Nella pagina dell'app la barra di navigazione inferiore e' fissa: il banner sta sopra */
#sv-consent.sv-consent-app { bottom: calc(76px + env(safe-area-inset-bottom)); }
#sv-consent * { box-sizing: border-box; }
#sv-consent .sv-consent-text { margin: 0 0 10px; color: #ccc; }
#sv-consent .sv-consent-text a { color: #3498db; text-decoration: underline; white-space: nowrap; }
#sv-consent .sv-consent-actions { display: flex; gap: 8px; }
/* Accetta e Rifiuta: stesso stile, stessa dimensione (Linee guida Garante 2021) */
#sv-consent .sv-consent-btn {
  flex: 1 1 0;
  min-width: 0;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #3498db;
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#sv-consent .sv-consent-btn:hover { background: #3498db22; }
#sv-consent .sv-consent-btn:focus-visible,
#sv-consent .sv-consent-close:focus-visible { outline: 2px solid #3498db; outline-offset: 2px; }
#sv-consent .sv-consent-close {
  position: absolute; top: 6px; right: 6px;
  width: 30px; height: 30px;
  background: none; border: none; border-radius: 6px;
  color: #888; font-size: 20px; line-height: 1; cursor: pointer;
}
#sv-consent .sv-consent-close:hover { color: #fff; background: #1a1a1a; }
/* link "Preferenze cookie" (shortcode [sv_cookie_preferenze]) */
a.sv-consent-prefs { cursor: pointer; }
@media (min-width: 720px) {
  #sv-consent .sv-consent-actions { max-width: 360px; }
}
