/* Compass Cookie Bar 1.0.0. Everything is scoped under the ids so theme button resets cannot win. */
#ccb-bar,
#ccb-reopen {
	--ccb-bg: var(--e-global-color-text, #17151f);
	--ccb-fg: #ffffff;
	--ccb-accent: var(--e-global-color-primary, #2f5bea);
}

#ccb-bar {
	display: none;
	position: fixed;
	z-index: 2147483000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 1080px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 16px 20px;
	background: var(--ccb-bg);
	color: var(--ccb-fg);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	font-family: var(--e-global-typography-text-font-family, system-ui), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}

.ccb-js:not(.ccb-has-choice) #ccb-bar,
.ccb-js.ccb-open #ccb-bar {
	display: block;
}

#ccb-bar .ccb-inner {
	display: flex;
	align-items: center;
	gap: 14px 24px;
}

#ccb-bar .ccb-text {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	color: inherit;
	font: inherit;
}

#ccb-bar .ccb-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

#ccb-bar .ccb-link:hover,
#ccb-bar .ccb-link:focus {
	color: inherit;
	text-decoration-thickness: 2px;
}

#ccb-bar .ccb-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

#ccb-bar .ccb-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 124px;
	min-height: 44px;
	margin: 0;
	padding: 10px 22px;
	border: 2px solid var(--ccb-accent);
	border-radius: 999px;
	background: var(--ccb-accent);
	color: #ffffff;
	font-family: var(--e-global-typography-primary-font-family, system-ui), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
	transition: filter 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

#ccb-bar .ccb-btn:hover,
#ccb-bar .ccb-btn:focus {
	background: var(--ccb-accent);
	color: #ffffff;
	filter: brightness(1.12);
}

#ccb-bar .ccb-decline,
#ccb-bar .ccb-decline:hover,
#ccb-bar .ccb-decline:focus {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--ccb-fg);
	filter: none;
}

#ccb-bar .ccb-decline:hover {
	border-color: var(--ccb-fg);
}

#ccb-bar .ccb-btn:focus-visible,
#ccb-bar .ccb-link:focus-visible,
#ccb-reopen:focus-visible {
	outline: 2px solid var(--ccb-fg);
	outline-offset: 3px;
}

#ccb-reopen {
	display: none;
	position: fixed;
	z-index: 2147482999;
	left: 16px;
	bottom: 16px;
	width: 44px;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: var(--ccb-bg);
	color: var(--ccb-fg);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	opacity: 0.85;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

#ccb-reopen:hover,
#ccb-reopen:focus {
	background: var(--ccb-bg);
	color: var(--ccb-fg);
	opacity: 1;
}

#ccb-reopen svg {
	display: block;
	width: 22px;
	height: 22px;
}

.ccb-js.ccb-has-choice:not(.ccb-open) #ccb-reopen {
	display: flex;
}

@media (prefers-reduced-motion: no-preference) {
	.ccb-js #ccb-bar {
		animation: ccb-in 0.35s ease-out both;
	}
}

@keyframes ccb-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 680px) {
	#ccb-bar {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 16px;
		font-size: 14px;
	}

	#ccb-bar .ccb-inner {
		flex-direction: column;
		align-items: stretch;
	}

	#ccb-bar .ccb-btn {
		flex: 1 1 0;
		min-width: 0;
	}

	#ccb-reopen {
		left: 12px;
		bottom: 12px;
	}
}

@media print {
	#ccb-bar,
	#ccb-reopen {
		display: none !important;
	}
}
