.lothaar-consent[hidden],
.lothaar-consent-settings[hidden] {
	display: none !important;
}

.lothaar-consent-open {
	overflow: hidden;
}

.lothaar-consent-open:not(.lothaar-consent-overlay-mode) {
	overflow: auto;
}

.lothaar-consent {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: 24px;
	color: #f7f2ea;
	font-family: inherit;
}

.lothaar-consent *,
.lothaar-consent-settings {
	font-family: inherit;
}

.lothaar-consent--panel {
	inset: auto 16px 16px auto;
	display: block;
	width: min(100% - 32px, 520px);
	padding: 0;
	pointer-events: none;
}

.lothaar-consent__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(9, 10, 12, 0.3);
	backdrop-filter: blur(2px);
}

.lothaar-consent--panel .lothaar-consent__backdrop {
	display: none;
}

.lothaar-consent__dialog {
	position: relative;
	width: min(100%, 560px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: #15171b;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
	padding: 28px;
}

.lothaar-consent--panel .lothaar-consent__dialog {
	width: 100%;
	pointer-events: auto;
}

.lothaar-consent__eyebrow {
	margin: 0 0 10px;
	color: #d7b56d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.lothaar-consent__title {
	margin: 0 0 14px;
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(26px, 4vw, 34px);
	line-height: 1.12;
	letter-spacing: 0;
}

.lothaar-consent__description {
	margin: 0;
	color: #d9d7d2;
	font-size: 16px;
	line-height: 1.6;
}

.lothaar-consent__category {
	margin: 16px 0 0;
	color: #f7f2ea;
	font-size: 14px;
	line-height: 1.5;
}

.lothaar-consent__policy {
	display: inline-block;
	margin-top: 16px;
	color: #f3d58c;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lothaar-consent__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 28px;
}

.lothaar-consent__button,
.lothaar-consent-settings {
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: 0;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lothaar-consent__button:hover,
.lothaar-consent-settings:hover {
	transform: translateY(-1px);
}

.lothaar-consent__button:focus-visible,
.lothaar-consent__policy:focus-visible,
.lothaar-consent-settings:focus-visible {
	outline: 3px solid #f3d58c;
	outline-offset: 3px;
}

.lothaar-consent__button--accept {
	background: #f3d58c;
	color: #111317;
	border-color: #f3d58c;
}

.lothaar-consent__button--reject {
	background: transparent;
	color: #f7f2ea;
	border-color: rgba(255, 255, 255, 0.42);
}

.lothaar-consent__button--reject:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.68);
}

.lothaar-consent-settings {
	position: fixed;
	right: 16px;
	bottom: 72px;
	z-index: 2147482999;
	padding: 10px 14px;
	background: #15171b;
	color: #f7f2ea;
	border-color: rgba(255, 255, 255, 0.24);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
	font-size: 13px;
}

@media (max-width: 480px) {
	.lothaar-consent {
		padding: 16px;
		align-items: end;
	}

	.lothaar-consent__dialog {
		width: 100%;
		max-height: calc(100vh - 32px);
		padding: 22px;
	}

	.lothaar-consent__actions {
		grid-template-columns: 1fr;
	}

	.lothaar-consent-settings {
		right: 12px;
		bottom: 24px;
	}
}
