.bnac,
.bnac * { box-sizing: border-box; text-transform: none; }
.bnac[hidden],
.bnac-dialog:not([open]) { display: none !important; }

.bnac-banner,
.bnac-dialog {
	background: #fff;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, .3);
	color: #141a18;
	font-size: 15px;
	line-height: 1.5;
	padding: 24px;
}
.bnac-banner {
	bottom: 16px;
	left: 16px;
	margin: 0 auto;
	max-height: calc(100vh - 32px);
	max-width: 980px;
	overflow: auto;
	position: fixed;
	right: 16px;
	z-index: 999999;
}
.bnac-dialog {
	inset: 0;
	margin: auto;
	max-height: calc(100vh - 32px);
	max-width: 620px;
	overflow: auto;
	position: fixed;
	width: calc(100% - 32px);
}
.bnac-dialog::backdrop { background: rgba(16, 32, 57, .7); }

.bnac .bnac-title { color: #141a18; font-size: 19px; font-weight: 700; margin: 0 48px 8px 0; }
.bnac .bnac-text { color: #141a18; margin: 0 0 16px; }
.bnac .bnac-text a { color: #0f52a1; text-decoration: underline; }

.bnac .bnac-x {
	background: none;
	border: 0;
	color: #141a18;
	cursor: pointer;
	font-size: 30px;
	height: 44px;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 44px;
}

.bnac-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Accetta e Rifiuta hanno lo stesso stile: nessuna scelta e' favorita. */
.bnac-btn {
	background: #0f52a1;
	border: 2px solid #0f52a1;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	flex: 1 1 160px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 46px;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none;
}
.bnac-btn:hover { background: #0b3f7d; border-color: #0b3f7d; color: #fff; }
.bnac-btn--plain { background: #fff; color: #0f52a1; }
.bnac-btn:focus-visible,
.bnac-x:focus-visible,
.bnac-link:focus-visible,
.bnac-float:focus-visible,
.bnac-row input:focus-visible { outline: 3px solid #82c41c; outline-offset: 2px; }

.bnac-list { margin: 8px 0 20px; }
.bnac-row { align-items: flex-start; border-top: 1px solid #dedede; cursor: pointer; display: flex; gap: 14px; margin: 0; padding: 14px 0; }
.bnac-row input { appearance: auto; flex: 0 0 auto; height: 22px; margin: 2px 0 0; width: 22px; }

.bnac-placeholder { align-items: center; background: #102039; color: #fff; display: flex; flex-direction: column; gap: 12px; justify-content: center; min-height: 200px; padding: 24px; text-align: center; width: 100%; }
.bnac-placeholder p { color: #fff; margin: 0; }
.bnac-placeholder .bnac-btn { flex: 0 0 auto; }

.bnac-link { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.bnac-float { background: #102039; border: 1px solid #fff; border-radius: 4px; bottom: 12px; color: #fff; cursor: pointer; font-size: 13px; left: 12px; padding: 8px 12px; position: fixed; z-index: 99990; }

.bnac-policy h2 { font-size: 26px; margin: 36px 0 12px; }
.bnac-policy h3 { font-size: 20px; margin: 24px 0 8px; }
.bnac-policy .bnac-btn { flex: none; }
.bnac-policy p { margin: 0 0 14px; }
.bnac-policy ul { list-style: disc; margin: 0 0 18px; padding-left: 22px; }
.bnac-policy li { list-style: inherit; margin-bottom: 6px; }
.bnac-policy a { text-decoration: underline; }
.bnac-table { margin: 0 0 20px; overflow-x: auto; }
.bnac-table table { border-collapse: collapse; font-size: 14px; min-width: 720px; width: 100%; }
.bnac-table th,
.bnac-table td { border: 1px solid #dedede; padding: 10px; text-align: left; vertical-align: top; }
.bnac-table th { background: #f3f6fa; }
.bnac-table code { overflow-wrap: anywhere; white-space: normal; }

@media (max-width: 575px) {
	.bnac-banner { bottom: 8px; font-size: 14px; left: 8px; padding: 18px; right: 8px; }
	.bnac-btn { flex-basis: 45%; }
}
@media print { .bnac-banner, .bnac-float { display: none !important; } }
