/* Banner consenso cookie (js/cookie-consent.js) */
#cc-banner, #cc-preferenze { z-index: 100000; font-size: 14px; line-height: 1.5; color: #fff; text-align: left; }
#cc-banner p, #cc-preferenze p { margin: 0 0 12px; color: #fff; }
#cc-banner a, #cc-preferenze a { color: #ddd54c; text-decoration: underline; }

#cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; padding: 20px 24px; background: #1e2228; border-radius: 6px; box-shadow: 0 4px 24px rgba(0, 0, 0, .35); }

#cc-preferenze { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .6); }
#cc-preferenze .cc-box { position: relative; width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; padding: 24px; background: #1e2228; border-radius: 6px; }

.cc-titolo { padding-right: 32px; font-size: 17px; font-weight: bold; }
.cc-chiudi { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

.cc-voce { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-weight: normal; cursor: pointer; }
.cc-voce input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }

.cc-pulsanti { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cc-btn { min-width: 130px; padding: 10px 16px; border: 2px solid #287f36; border-radius: 4px; background: #287f36; color: #fff; font-size: 14px; font-weight: bold; cursor: pointer; }
.cc-btn:hover, .cc-btn:focus { border-color: #1f6a2b; background: #1f6a2b; }
.cc-btn-secondario { border-color: #fff; background: transparent; }
.cc-btn-secondario:hover, .cc-btn-secondario:focus { border-color: #fff; background: rgba(255, 255, 255, .12); }

.cc-segnaposto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; box-sizing: border-box; background: #eceff1; color: #1e2228; font-size: 14px; text-align: center; }
.cc-segnaposto p { margin: 0; color: #1e2228; }
.cc-segnaposto a { color: #1e2228; text-decoration: underline; }

.cc-nascosto { display: none !important; }

@media (max-width: 480px) {
    #cc-banner { padding: 16px; }
    .cc-btn { flex: 1 1 100%; }
}
