/* Banner consenso cookie: stile fisso scuro, indipendente da site.css /
   marketing.css cosi' resta identico sia nel portale che nelle pagine
   marketing (anche quando queste passano al tema chiaro). */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #101A2E;
  border-top: 1px solid #22314E;
  box-shadow: 0 -12px 30px -12px rgba(5, 10, 18, 0.6);
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.cookie-consent-text {
  flex: 1 1 420px;
  margin: 0;
  color: #E8EDF6;
  font-size: 13.5px;
  line-height: 1.5;
}
.cookie-consent-text a { color: #E8A845; }
.cookie-consent-options {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 2px;
  border-top: 1px solid #22314E;
}
.cookie-consent-options[hidden] { display: none; }
.cookie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E8EDF6;
  font-size: 13px;
}
.cookie-option-note { color: #9FAEC8; font-size: 12px; }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.cookie-consent .btn {
  background: #16233C;
  color: #E8EDF6;
  border: 1px solid #22314E;
  border-radius: 10px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.cookie-consent .btn:hover { border-color: #1458D6; background: #1C2A45; box-shadow: 0 0 0 3px rgba(20, 88, 214, 0.18); }
.cookie-consent-accept {
  background: #E8A845 !important;
  color: #16233C !important;
  border-color: #E8A845 !important;
  font-weight: 600;
}
.cookie-consent-accept:hover { box-shadow: 0 0 0 3px rgba(232, 168, 69, 0.28) !important; }

@media (max-width: 560px) {
  .cookie-consent-actions { width: 100%; justify-content: flex-end; }
}
