.cookie-banner,
.cookie-policy
{
	color: #25202a;
	background: #fff;
	border: 1px solid #d8cdd4;
	border-radius: 16px;
	padding: 24px;
	font-family: system-ui, sans-serif;
	line-height: 1.6;
}

.cookie-banner
{
	position: fixed;
	bottom: 16px;
	left: 16px;
	right: 16px;
	max-width: 700px;
	margin-right: auto;
	box-sizing: border-box;
	z-index: 10000;
	max-height: 70vh;
	overflow-y: auto;
	box-shadow: 0 6px 30px #0003;
}

.cookie-settings-toggle
{
	position: fixed;
	bottom: 16px;
	left: 16px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 2px solid #8c1851;
	border-radius: 50%;
	background: #fff;
	color: #8c1851;
	box-shadow: 0 2px 8px #0003;
	text-decoration: none;
}

.cookie-settings-toggle:hover
{
	background: #fcecf4;
}

.cookie-settings-toggle:focus-visible
{
	outline: 3px solid #25202a;
	outline-offset: 3px;
}

.cookie-settings-toggle svg
{
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cookie-settings-toggle circle
{
	fill: currentColor;
	stroke: none;
}

.cookie-banner h2
{
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.cookie-actions
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.cookie-button
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border: 2px solid #8c1851;
	border-radius: 8px;
	background: #fff;
	color: #8c1851;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.cookie-button:hover
{
	background: #fcecf4;
}

.cookie-button:focus-visible,
.cookie-policy input:focus-visible,
.cookie-table-wrapper:focus-visible,
.cookie-footer a:focus-visible
{
	outline: 3px solid #25202a;
	outline-offset: 3px;
}

.cookie-footer
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 24px;
	padding: 16px;
	font: 14px/1.6 system-ui, sans-serif;
}

.cookie-footer a,
.cookie-policy a
{
	color: #8c1851;
	text-decoration: underline;
}

.cookie-policy
{
	width: 100%;
	min-width: 0;
	max-width: 1000px;
	margin: 24px auto;
	box-sizing: border-box;
}

.cookie-policy h1
{
	font-size: 1.8rem;
}

.cookie-policy h2
{
	font-size: 1.3rem;
	margin-top: 32px;
}

.cookie-policy fieldset
{
	border: 1px solid #d8cdd4;
	border-radius: 8px;
	margin: 24px 0;
	padding: 16px;
	min-width: 0;
}

.cookie-policy legend,
.cookie-policy label
{
	font-weight: 600;
}

.cookie-category + .cookie-category
{
	border-top: 1px solid #d8cdd4;
	padding-top: 16px;
}

.cookie-policy input[type="checkbox"]
{
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 8px;
	accent-color: #8c1851;
}

.cookie-table-wrapper
{
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid #d8cdd4;
	border-radius: 8px;
}

.cookie-policy table
{
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
	font-size: .9rem;
}

.cookie-policy th,
.cookie-policy td
{
	text-align: left;
	vertical-align: top;
	padding: 12px;
	border-bottom: 1px solid #d8cdd4;
	overflow-wrap: anywhere;
}

	.cookie-policy th:nth-child(1),
	.cookie-policy td:nth-child(1)
	{
		min-width: 180px;
	}

	.cookie-policy th:nth-child(3),
	.cookie-policy td:nth-child(3)
	{
		min-width: 80px;
	}

.cookie-notice
{
	background: #fcecf4;
	padding: 12px;
	border-radius: 8px;
}

.cookie-policy [hidden]
{
	display: none;
}

@media (max-width: 600px)
{
	.cookie-banner,
	.cookie-policy
{
		padding: 16px;
	}

	.cookie-actions .cookie-button
{
		flex: 1 1 100%;
	}
}
