.dns-cookie-banner {
	position: fixed;
	z-index: 100000;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: #1a1a1a;
	color: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	font-family: Inter, sans-serif;
	font-size: 0.875rem;
	line-height: 1.55;
}

.dns-cookie-banner__copy {
	max-width: 650px;
}

.dns-cookie-banner__copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.dns-cookie-banner__copy .dns-cookie-banner__title {
	margin-bottom: 0.25rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.dns-cookie-banner a,
.dns-cookie-settings__policy {
	color: #b7e4c7;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dns-cookie-banner__actions,
.dns-cookie-settings__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
}

.dns-cookie-button {
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 0.65rem 0.9rem;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: 600 0.8rem/1.2 Inter, sans-serif;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dns-cookie-button:hover {
	transform: translateY(-1px);
}

.dns-cookie-button--primary {
	background: #b7e4c7;
	color: #173325;
}

.dns-cookie-button--primary:hover {
	background: #d7f2df;
}

.dns-cookie-button--outline {
	border-color: rgba(255, 255, 255, 0.4);
}

.dns-cookie-button--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.dns-cookie-button--quiet {
	color: rgba(255, 255, 255, 0.78);
}

.dns-cookie-button--quiet:hover {
	background: rgba(255, 255, 255, 0.08);
}

.dns-cookie-settings {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	font-family: Inter, sans-serif;
}

.dns-cookie-settings__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
}

.dns-cookie-settings__panel {
	position: relative;
	width: min(100%, 520px);
	padding: 2rem;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.dns-cookie-settings__panel:focus {
	outline: 2px solid #1a6b3c;
	outline-offset: 4px;
}

.dns-cookie-settings__close {
	position: absolute;
	top: 0.8rem;
	right: 1rem;
	border: 0;
	background: transparent;
	color: #56616b;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1;
}

.dns-cookie-settings__eyebrow {
	margin: 0 0 0.35rem;
	color: #1a6b3c;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.dns-cookie-settings h2 {
	margin: 0 2rem 0.65rem 0;
	color: #1a1a1a;
	font: 800 1.6rem/1.15 Inter, sans-serif;
}

.dns-cookie-settings__panel > p:not(.dns-cookie-settings__eyebrow) {
	margin: 0 0 1.25rem;
	color: #56616b;
	font: 0.92rem/1.6 Merriweather, serif;
}

.dns-cookie-toggle {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-top: 1px solid #e9ecef;
	cursor: pointer;
}

.dns-cookie-toggle input {
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.15rem;
	accent-color: #1a6b3c;
	flex: 0 0 auto;
}

.dns-cookie-toggle span {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.dns-cookie-toggle strong {
	font-size: 0.92rem;
}

.dns-cookie-toggle small {
	color: #68737c;
	font-size: 0.78rem;
	line-height: 1.45;
}

.dns-cookie-settings__actions {
	margin-top: 1rem;
	justify-content: flex-start;
}

.dns-cookie-settings__actions .dns-cookie-button {
	background: #1a6b3c;
	color: #fff;
}

.dns-cookie-settings__actions .dns-cookie-button:hover {
	background: #14522e;
}

.dns-cookie-settings__policy {
	display: inline-block;
	margin-top: 1.1rem;
	color: #1a6b3c;
	font-size: 0.8rem;
}

.dns-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	font: 0.78rem/1.5 Inter, sans-serif;
}

.dns-footer-legal a {
	color: #b7e4c7;
}

.dns-cookie-settings-trigger {
	padding: 0;
	border: 0;
	background: transparent;
	color: #b7e4c7;
	cursor: pointer;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 720px) {
	.dns-cookie-banner {
		align-items: stretch;
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
	}

	.dns-cookie-banner__actions {
		justify-content: flex-start;
	}

	.dns-cookie-button {
		flex: 1 1 auto;
	}

	.dns-cookie-settings__panel {
		padding: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dns-cookie-button {
		transition: none;
	}
}