.spark-cookie-consent-banner {
	background: #0d3440;
	bottom: 0;
	box-shadow: 0 -2px 18px rgba(0, 0, 0, 0.18);
	color: #fff;
	left: 0;
	padding: 18px 24px;
	position: fixed;
	right: 0;
	transform: translateY(110%);
	transition: transform 0.25s ease;
	z-index: 100000;
}

.spark-cookie-consent-banner.is-visible {
	transform: translateY(0);
}

.spark-cookie-banner-content {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
}

.spark-cookie-banner-text h2 {
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.3;
	margin: 0 0 8px;
}

.spark-cookie-banner-text p {
	color: #f5f7f8;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
}

.spark-cookie-banner-actions {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.spark-cookie-button {
	border: 1px solid #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 10px 16px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.spark-cookie-button-primary {
	background: #207690;
	border-color: #207690;
	color: #fff;
}

.spark-cookie-button-secondary,
.spark-cookie-button-outline {
	background: transparent;
	color: #fff;
}

.spark-cookie-button:hover,
.spark-cookie-button:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #0d3440;
}

.spark-cookie-button:focus-visible,
.spark-cookie-privacy-link:focus-visible,
.spark-cookie-modal-close:focus-visible,
.spark-cookie-toggle input:focus-visible + .spark-cookie-slider {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.spark-cookie-privacy-link {
	color: #fff;
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.spark-cookie-modal {
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	transition: opacity 0.25s ease;
	z-index: 100001;
}

.spark-cookie-modal.is-visible {
	opacity: 1;
}

.spark-cookie-modal-overlay {
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.spark-cookie-modal-content {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	color: #0d3440;
	max-height: 90vh;
	max-width: 620px;
	overflow-y: auto;
	position: relative;
	transform: translateY(16px);
	transition: transform 0.25s ease;
	width: min(92vw, 620px);
}

.spark-cookie-modal.is-visible .spark-cookie-modal-content {
	transform: translateY(0);
}

.spark-cookie-modal-header {
	align-items: center;
	background: #0d3440;
	border-radius: 8px 8px 0 0;
	color: #fff;
	display: flex;
	justify-content: space-between;
	padding: 18px 22px;
}

.spark-cookie-modal-header h2 {
	color: #fff;
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 0;
}

.spark-cookie-modal-close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1.75rem;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 36px;
}

.spark-cookie-modal-body {
	padding: 22px;
}

.spark-cookie-modal-body > p {
	margin-top: 0;
}

.spark-cookie-category {
	border-bottom: 1px solid #e3e8ea;
	padding: 18px 0;
}

.spark-cookie-category:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.spark-cookie-category-header {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.spark-cookie-category h3 {
	font-size: 1rem;
	line-height: 1.3;
	margin: 0;
}

.spark-cookie-category p {
	color: #546870;
	font-size: 0.93rem;
	line-height: 1.5;
	margin: 0;
}

.spark-cookie-always-on {
	background: #207690;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 5px 10px;
	white-space: nowrap;
}

.spark-cookie-toggle {
	display: inline-block;
	height: 26px;
	position: relative;
	width: 52px;
}

.spark-cookie-toggle input {
	height: 0;
	opacity: 0;
	width: 0;
}

.spark-cookie-slider {
	background: #b8c4c8;
	border-radius: 999px;
	bottom: 0;
	cursor: pointer;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 0.2s ease;
}

.spark-cookie-slider::before {
	background: #fff;
	border-radius: 50%;
	bottom: 3px;
	content: "";
	height: 20px;
	left: 3px;
	position: absolute;
	transition: transform 0.2s ease;
	width: 20px;
}

.spark-cookie-toggle input:checked + .spark-cookie-slider {
	background: #207690;
}

.spark-cookie-toggle input:checked + .spark-cookie-slider::before {
	transform: translateX(26px);
}

.spark-cookie-modal-footer {
	border-top: 1px solid #e3e8ea;
	padding: 18px 22px;
	text-align: right;
}

.spark-cookie-modal-footer .spark-cookie-button:focus-visible {
	outline-color: #207690;
}

[hidden].spark-cookie-consent-banner,
[hidden].spark-cookie-modal {
	display: none;
}

@media (max-width: 760px) {
	.spark-cookie-consent-banner {
		padding: 16px;
	}

	.spark-cookie-banner-content {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
	}

	.spark-cookie-banner-actions {
		justify-content: stretch;
	}

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

	.spark-cookie-privacy-link {
		display: block;
		flex-basis: 100%;
		text-align: center;
	}

	.spark-cookie-category-header {
		align-items: flex-start;
	}
}
