.itlu-consent [hidden] {
	display: none !important;
}

.itlu-consent__dialog {
	box-sizing: border-box;
	width: min(42rem, calc(100% - 2rem));
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: clamp(1rem, 4vw, 2rem);
	border: 1px solid #b5bec9;
	border-radius: 1rem;
	background: #fff;
	color: #182537;
	box-shadow: 0 1rem 4rem #0003;
	font: 400 1rem/1.6 system-ui, sans-serif;
	overflow: auto;
	overscroll-behavior: contain;
}

.itlu-consent__dialog::backdrop {
	background: #10203380;
}

.itlu-consent__dialog[open] {
	display: flex;
	flex-direction: column;
}

.itlu-consent__body {
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain;
	padding: 0.25rem;
}

.itlu-consent__header {
	display: flex;
	flex-shrink: 0;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.itlu-consent__header h2 {
	margin: 0;
	color: inherit;
	font: 700 1.5rem/1.3 system-ui, sans-serif;
}

.itlu-consent__dialog p {
	margin: 1rem 0;
}

.itlu-consent__dialog a {
	color: #164780;
	text-decoration: underline;
}

.itlu-consent button {
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.6rem 1rem;
	border: 2px solid #344b65;
	border-radius: 0.35rem;
	background: #fff;
	color: #182537;
	font: 600 0.9375rem/1.4 system-ui, sans-serif;
	text-align: center;
	text-transform: none;
	cursor: pointer;
}

.itlu-consent button:hover {
	background: #eaf0f6;
	color: #182537;
}

.itlu-consent :is(button, a, input):focus-visible {
	outline: 3px solid #145caa;
	outline-offset: 3px;
}

.itlu-consent .itlu-consent__close {
	flex-shrink: 0;
	width: 44px;
	padding: 0;
	font-size: 1.5rem;
}

.itlu-consent__actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-top: 1rem;
}

.itlu-consent__actions button {
	flex: 1 1 10rem;
}

.itlu-consent__options {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #b5bec9;
}

.itlu-consent__options fieldset {
	min-width: 0;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.itlu-consent__options legend {
	font-weight: 700;
}

.itlu-consent__options label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
	cursor: pointer;
}

.itlu-consent__options input {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	accent-color: #164780;
}

@media print {

	.itlu-consent {
		display: none !important;
	}
}
