/* Aspetto del banner dei cookie di bi-tec.it. */
#cc-main {
	--cc-font-family: Poppins, Montserrat, Arial, sans-serif;
	--cc-bg: #fff;
	--cc-primary-color: #000;
	--cc-secondary-color: #333;
	--cc-modal-border-radius: 14px;
	--cc-btn-border-radius: 8px;
	--cc-link-color: #005b80;
	--cc-footer-color: #333;

	/* Accetta e Rifiuta hanno lo stesso aspetto: testo bianco su nero */
	--cc-btn-primary-bg: #000;
	--cc-btn-primary-color: #fff;
	--cc-btn-primary-border-color: #000;
	--cc-btn-primary-hover-bg: #333;
	--cc-btn-primary-hover-color: #fff;
	--cc-btn-primary-hover-border-color: #333;
	--cc-btn-secondary-bg: #fff;
	--cc-btn-secondary-color: #000;
	--cc-btn-secondary-border-color: #000;
	--cc-btn-secondary-hover-bg: #eee;
	--cc-btn-secondary-hover-color: #000;
	--cc-btn-secondary-hover-border-color: #000;
	--cc-toggle-on-bg: #005b80;
	--cc-toggle-readonly-bg: #777;
}

/* Il tema non deve cambiare titoli, paragrafi e pulsanti del banner */
#cc-main .cm { border-top: 6px solid #26ace2; }
#cc-main .cm__title,
#cc-main .pm__title { color: #000; padding-bottom: 0; line-height: 1.3; }
#cc-main .cm__desc,
#cc-main .pm__section-desc { font-size: 0.9rem; line-height: 1.55; }
#cc-main button { letter-spacing: normal; text-transform: none; }
#cc-main a { text-decoration: underline; }
#cc-main :focus-visible,
.bitec-cookie-apri:focus-visible,
.bitec-video :focus-visible { outline: 3px solid #ff7300; outline-offset: 2px; }

/* Pulsante per cambiare idea: in basso a sinistra, lontano da WhatsApp */
.bitec-cookie-apri {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 99990;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid #000;
	border-radius: 18px;
	background: #fff;
	color: #000;
	font: 600 13px/1.2 Poppins, Montserrat, Arial, sans-serif;
	cursor: pointer;
}
.bitec-cookie-apri:hover { background: #eee; }
/* Con il banner aperto il pulsante non serve e spunterebbe da sotto */
.show--consent .bitec-cookie-apri { visibility: hidden; }

/* Riquadro al posto del video YouTube */
.bitec-video {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 280px;
	aspect-ratio: 16 / 9;
	padding: 24px;
	border-radius: 12px;
	background: #111;
	color: #fff;
	text-align: center;
}
.bitec-video p { max-width: 560px; margin: 0; padding: 0; color: #fff; font-size: 15px; line-height: 1.5; }
.bitec-video .bitec-video__titolo { font-size: 18px; font-weight: 700; }
.bitec-video__carica {
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 8px;
	background: #26ace2;
	color: #000;
	font: 700 16px/1.2 Poppins, Montserrat, Arial, sans-serif;
	cursor: pointer;
}
.bitec-video__carica:hover { background: #7fd0f0; }
.bitec-video a.bitec-video__link { color: #fff; font-size: 14px; text-decoration: underline; }
.bitec-video--attivo { min-height: 0; padding: 0; overflow: hidden; }
.bitec-video--attivo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 480px) {
	.bitec-video { min-height: 340px; padding: 18px; aspect-ratio: auto; }
	.bitec-video--attivo { min-height: 0; padding: 0; aspect-ratio: 16 / 9; }
}
