/* FC Consenso Privacy */
:root { --fcc-c: #1b3a73; }
.fcc-banner, .fcc-modal, .fcc-float, .fcc-ph { font-family: inherit; font-size: 15px; line-height: 1.5; color: #1d2327; box-sizing: border-box; }
.fcc-banner *, .fcc-modal *, .fcc-ph * { box-sizing: border-box; }
.fcc-banner[hidden], .fcc-modal[hidden] { display: none !important; }

.fcc-banner { position: fixed; z-index: 99998; left: 16px; right: 16px; bottom: 16px; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 20px 52px 18px 22px; border-top: 4px solid var(--fcc-c); }
.fcc-title { font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.fcc-text { margin: 0 0 14px; font-size: 14px; color: #3c434a; }
.fcc-text a, .fcc-ph a { color: var(--fcc-c); text-decoration: underline; }
.fcc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.fcc-btn { appearance: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 6px; border: 2px solid var(--fcc-c); background: #fff; color: var(--fcc-c); min-width: 130px; line-height: 1.2; }
.fcc-btn:hover { background: #f3f5f9; }
.fcc-btn-primary { background: var(--fcc-c); color: #fff; }
.fcc-btn-primary:hover { background: var(--fcc-c); filter: brightness(1.15); }
.fcc-btn:focus-visible, .fcc-x:focus-visible, .fcc-float:focus-visible, .fcc-switch input:focus-visible + span { outline: 3px solid #f0b849; outline-offset: 2px; }
.fcc-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #50575e; border-radius: 50%; }
.fcc-x:hover { background: #f0f0f1; }

.fcc-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fcc-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.fcc-dialog { position: relative; background: #fff; border-radius: 12px; max-width: 620px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px 24px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.3); outline: none; }
html.fcc-modal-open { overflow: hidden; }
.fcc-cat { border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px 14px; margin: 0 0 10px; }
.fcc-cat p { margin: 6px 0 0; font-size: 13px; color: #50575e; }
.fcc-cat-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.fcc-cat-h label { cursor: pointer; }
.fcc-always { font-size: 12px; font-weight: 600; color: #007a1f; }
.fcc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.fcc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.fcc-switch span { position: absolute; inset: 0; background: #b0b5ba; border-radius: 26px; transition: background .15s; }
.fcc-switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.fcc-switch input:checked + span { background: var(--fcc-c); }
.fcc-switch input:checked + span::before { transform: translateX(20px); }
.fcc-dialog .fcc-actions { margin-top: 16px; }
.fcc-id { font-size: 12px; color: #646970; margin: 12px 0 0; }

.fcc-float { position: fixed; z-index: 99990; bottom: 16px; display: flex; align-items: center; gap: 0; border: 0; cursor: pointer; background: var(--fcc-c); color: #fff; border-radius: 24px; height: 44px; min-width: 44px; padding: 0 11px; box-shadow: 0 3px 12px rgba(0,0,0,.25); overflow: hidden; }
.fcc-float-left { left: 16px; }
.fcc-float-right { right: 16px; }
.fcc-float-l { max-width: 0; white-space: nowrap; overflow: hidden; font-size: 14px; font-weight: 600; transition: max-width .25s, margin .25s; }
.fcc-float:hover .fcc-float-l, .fcc-float:focus-visible .fcc-float-l { max-width: 200px; margin-left: 8px; }

/* Segnaposto per mappe e video bloccati */
iframe[data-fcc-src] { display: none !important; }
.fcc-ph { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 300px; height: 100%; background: #eef1f5 repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.025) 14px 28px); border: 1px solid #d8dde3; border-radius: 8px; padding: 24px; text-align: center; }
.fcc-ph-in { max-width: 460px; }
.fcc-ph-t { font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.fcc-ph-s { font-size: 14px; color: #50575e; margin: 0 0 14px; }
.fcc-ph-a { margin: 0 0 8px; }
.fcc-ph-n { font-size: 12px; color: #646970; margin: 0; }
.fcc-ph-maps .fcc-ph-in::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 10px; background: var(--fcc-c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat; }

@media (max-width: 600px) {
	.fcc-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px 16px 14px; }
	.fcc-banner .fcc-title { padding-right: 30px; }
	.fcc-actions { justify-content: stretch; }
	.fcc-actions .fcc-btn { flex: 1 1 100%; }
	.fcc-banner .fcc-actions .fcc-btn { flex: 1 1 30%; min-width: 0; padding: 10px 8px; }
	.fcc-float { bottom: 8px; }
}
@media print { .fcc-banner, .fcc-modal, .fcc-float { display: none !important; } }
