.euwb-legal-document,
.euwb-cookie-page {
	color: inherit;
	font: inherit;
}

.euwb-legal-document section + section {
	margin-top: 2rem;
}

.euwb-legal-document address {
	font-style: normal;
}

.euwb-admin-preview-note {
	padding: 0.75rem 1rem;
	border-left: 4px solid currentColor;
}

.euwb-legal-links {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 1rem max(1rem, calc((100% - 1200px) / 2));
	border-top: 1px solid currentColor;
	color: inherit;
	font: inherit;
	text-align: center;
	opacity: 0.85;
}

.euwb-legal-links a {
	color: inherit;
}

.euwb-button,
.euwb-consent button,
.euwb-consent-modal .euwb-consent__actions button {
	min-height: 44px;
	padding: 0.65rem 1rem;
	border: 2px solid currentColor;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.euwb-button:focus-visible,
.euwb-consent button:focus-visible,
.euwb-consent-modal button:focus-visible,
.euwb-consent-modal input:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.euwb-consent {
	position: fixed;
	z-index: 999990;
	right: 0;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	max-height: min(90vh, 720px);
	padding: 1rem;
	overflow: auto;
	background: #fff;
	color: #1d2327;
	border-top: 2px solid #1d2327;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.16);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.euwb-consent[hidden],
.euwb-consent-modal[hidden] {
	display: none;
}

.euwb-consent__inner {
	width: min(100%, 1100px);
	margin: 0 auto;
}

.euwb-consent h2,
.euwb-consent-modal h2 {
	margin: 0 0 0.75rem;
	color: inherit;
	font-size: 1.35rem;
	line-height: 1.3;
}

.euwb-consent p {
	margin: 0 0 1rem;
}

.euwb-consent__links a {
	color: inherit;
}

.euwb-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.euwb-consent__actions button {
	flex: 1 1 180px;
	background: #fff;
	color: #1d2327;
}

.euwb-consent__actions button:hover {
	border-color: #1d2327;
	background: #1d2327;
	color: #fff;
}

.euwb-consent-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 1rem;
	color: #1d2327;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.euwb-consent-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.euwb-consent-modal__panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(100%, 680px);
	max-height: min(90vh, 760px);
	padding: 1.5rem;
	overflow: auto;
	border: 2px solid #1d2327;
	border-radius: 6px;
	background: #fff;
}

.euwb-consent-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.euwb-consent-category {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 0;
	border-top: 1px solid #c3c4c7;
}

.euwb-consent-category p,
.euwb-consent-category__description {
	display: block;
	margin: 0.25rem 0 0;
	font-weight: 400;
}

.euwb-consent-category input {
	width: 24px;
	height: 24px;
}

body.euwb-consent-modal-open {
	overflow: hidden;
}

@media (prefers-color-scheme: dark) {
	.euwb-consent,
	.euwb-consent-modal__panel,
	.euwb-consent__actions button {
		background: #202124;
		color: #f5f5f5;
		border-color: #f5f5f5;
	}

	.euwb-consent__actions button:hover {
		border-color: #f5f5f5;
		background: #f5f5f5;
		color: #202124;
	}
}

@media (max-width: 600px) {
	.euwb-consent {
		padding: 0.875rem;
	}

	.euwb-consent__actions {
		display: grid;
	}

	.euwb-consent__actions button {
		width: 100%;
	}

	.euwb-consent-modal__panel {
		padding: 1.25rem;
	}
}
