/* Consenso cookie — lafataeildrago (11/10/2026). Posizione del banner storico del sito (#cookie), colori del tema lafataeildrago (non il verde del vecchio banner):
   barra fissa in basso; colori del sito: antracite #2f2f2f/#3b3b3b, oro #c5990e dei pulsanti (testo bianco), font Raleway.
   Garante 2021: "Rifiuta" e "Accetta" con lo stesso peso visivo; la X equivale a rifiutare. */

#cookie { display: none !important; } /* vecchio banner informativo, sostituito da questo */

.fdcc-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
    background: #2f2f2f; color: #fff;
    box-shadow: 1px 7px 3px 8px rgba(0, 0, 0, .25);
    font-family: 'Raleway', sans-serif; font-size: 15px; line-height: 1.45em;
}
.fdcc-banner-inner {
    position: relative; display: flex; align-items: center; gap: 24px;
    padding: 16px 48px 16px 15px;
}
.fdcc-banner-text { margin: 0; flex: 1 1 auto; }
.fdcc-banner-text a { color: #c5990e; text-decoration: underline; }
.fdcc-banner-text a:hover { color: #ddd; }
.fdcc-banner-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }

.fdcc-btn {
    min-width: 130px; padding: 9px 18px; border-radius: 4px; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2em;
    border: 2px solid #c5990e; transition: background-color .15s, color .15s;
}
.fdcc-btn-accept { background: #c5990e; color: #fff; }
.fdcc-btn-accept:hover { background: #d6a91c; border-color: #d6a91c; }
.fdcc-btn-reject { background: #fff; color: #2f2f2f; border-color: #fff; }
.fdcc-btn-reject:hover { background: #f3eedf; border-color: #f3eedf; }
.fdcc-link {
    background: none; border: 0; padding: 6px 4px; color: #fff; cursor: pointer;
    font-family: inherit; font-size: 14px; text-decoration: underline;
}
.fdcc-link:hover { color: #c5990e; }
.fdcc-close {
    position: absolute; top: 6px; right: 10px; background: none; border: 0; color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer; opacity: .85;
}
.fdcc-close:hover { opacity: 1; color: #c5990e; }

@media (max-width: 767px) {
    .fdcc-banner { font-size: 14px; }
    .fdcc-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 15px 14px; }
    .fdcc-banner-text { padding-right: 26px; }
    .fdcc-banner-actions { justify-content: center; }
    .fdcc-btn { flex: 1 1 40%; min-width: 0; }
    .fdcc-link { flex: 1 1 100%; text-align: center; }
}

/* Pannello preferenze */
.fdcc-preferences { position: fixed; inset: 0; z-index: 10001; font-family: 'Raleway', sans-serif; }
.fdcc-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.fdcc-panel {
    position: relative; margin: 6vh auto 0; width: 94%; max-width: 640px; max-height: 88vh;
    display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.fdcc-panel-header { display: flex; align-items: center; justify-content: space-between; background: #2f2f2f; color: #fff; padding: 14px 18px; }
.fdcc-panel-header h3 { margin: 0; font-size: 19px; font-weight: 600; color: #fff; }
.fdcc-panel-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.fdcc-panel-body { padding: 16px 18px; overflow-y: auto; color: #333; font-size: 14px; }
.fdcc-cat { border: 1px solid #e8e1cf; border-radius: 4px; padding: 10px 12px; margin-top: 12px; }
.fdcc-cat-head { display: flex; align-items: center; gap: 10px; }
.fdcc-cat-name { font-weight: 600; font-size: 15px; color: #3b3b3b; flex: 1 1 auto; }
.fdcc-cat-desc { margin: 6px 0 0 56px; color: #555; }
.fdcc-badge { font-size: 11px; background: #f3eedf; color: #2f2f2f; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.fdcc-expand { background: none; border: 0; color: #2f2f2f; cursor: pointer; font-size: 13px; }
.fdcc-cookies { margin-top: 8px; overflow-x: auto; }
.fdcc-cookies table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fdcc-cookies th, .fdcc-cookies td { text-align: left; padding: 5px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.fdcc-cookies th { color: #2f2f2f; }

.fdcc-toggle { position: relative; display: inline-block; width: 44px; height: 24px; margin: 0; flex: 0 0 auto; }
.fdcc-toggle input { opacity: 0; width: 0; height: 0; }
.fdcc-slider { position: absolute; inset: 0; background: #cfcfcf; border-radius: 24px; cursor: pointer; transition: .2s; }
.fdcc-slider:before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.fdcc-toggle input:checked + .fdcc-slider { background: #c5990e; }
.fdcc-toggle input:checked + .fdcc-slider:before { transform: translateX(20px); }
.fdcc-toggle input:disabled + .fdcc-slider { background: #8a8a8a; cursor: default; }

.fdcc-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid #e5e5e5; }
.fdcc-panel-footer a { color: #2f2f2f; text-decoration: underline; font-size: 13px; }
.fdcc-panel-buttons { display: flex; gap: 10px; }
/* nel pannello bianco "Rifiuta" e' verde pieno: stesso peso visivo del pulsante oro (Garante) */
.fdcc-panel-footer .fdcc-btn-reject { background: #2f2f2f !important; color: #fff !important; border: 2px solid #2f2f2f !important; }
.fdcc-panel-footer .fdcc-btn-reject:hover { background: #1a1a1a !important; border-color: #1a1a1a !important; }
.fdcc-btn { border-style: solid !important; border-width: 2px !important; }
@media (max-width: 767px) {
    .fdcc-panel { margin-top: 3vh; max-height: 94vh; }
    .fdcc-cat-desc { margin-left: 0; }
    .fdcc-panel-buttons { width: 100%; }
    .fdcc-panel-buttons .fdcc-btn { flex: 1 1 50%; min-width: 0; }
}

/* Link "Preferenze cookie" nel footer e avviso al posto del riquadro Facebook */
.fdcc-footer-prefs { text-align: center; padding: 8px 0; }
.fdcc-footer-prefs a { font-size: 12px; color: #888; cursor: pointer; }
.fdcc-fb-blocked { font-size: 13px; color: #888; margin-top: 8px; }
.fdcc-fb-blocked a { cursor: pointer; text-decoration: underline; }

.fdcc-preview-flag {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 10002;
    background: #c5990e; color: #fff; font: 600 12px 'Raleway', sans-serif; padding: 3px 12px; border-radius: 0 0 6px 6px;
}
.fdcc-preview-flag a { color: #fff; margin-left: 4px; }
