/*
 * Cookie consent compatibility.
 *
 * CookieYes must remain active for compliance, but its default overlay can dim,
 * lock, or shift the page. Keep consent visible as a compact non-blocking banner.
 */

.cky-overlay,
.cky-modal-backdrop,
.cli-modal-backdrop {
	background: transparent !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.cky-overlay-active,
body.cli-barmodal-open {
	overflow: auto !important;
	padding-right: 0 !important;
}

.cky-consent-container,
#cookie-law-info-bar {
	position: fixed !important;
	inset: auto 16px 16px auto !important;
	width: min(560px, calc(100vw - 32px)) !important;
	max-width: calc(100vw - 32px) !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	z-index: 999999 !important;
	pointer-events: auto !important;
}

.cky-consent-bar,
#cookie-law-info-bar {
	border: 1px solid rgba(139, 164, 195, 0.35) !important;
	border-radius: 16px !important;
	box-shadow: 0 18px 52px rgba(3, 15, 30, 0.2) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	padding: 14px 16px !important;
	color: #071426 !important;
}

.cky-notice,
.cli-bar-container {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 12px !important;
	align-items: center !important;
}

.cky-title {
	margin: 0 0 4px !important;
	font-size: 14px !important;
	line-height: 1.25 !important;
	font-weight: 850 !important;
	color: #071426 !important;
}

.cky-notice-des,
.cky-notice-des p,
.cli-bar-message {
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #53657c !important;
}

.cky-notice-des a,
.cli-bar-message a {
	color: #0b5cad !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.cky-notice-btn-wrapper,
.cli-bar-btn_container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-end !important;
	margin: 0 !important;
}

.cky-btn,
.cli-plugin-button {
	min-height: 38px !important;
	border-radius: 999px !important;
	padding: 9px 14px !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

.cky-btn-accept,
.cli_action_button {
	border-color: #ffd23f !important;
	background: #ffd23f !important;
	color: #071426 !important;
}

.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences,
.cli_settings_button {
	border-color: rgba(35, 54, 79, 0.22) !important;
	background: transparent !important;
	color: #23364f !important;
}

.cky-btn:hover,
.cli-plugin-button:hover {
	transform: translateY(-1px);
}

.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	opacity: 0.72 !important;
	transform: none !important;
	box-shadow: 0 10px 30px rgba(3, 15, 30, 0.16) !important;
}

.cky-revisit-bottom-left:hover,
.cky-revisit-bottom-right:hover {
	opacity: 1 !important;
}

#cookie-law-info-again {
	right: auto !important;
	bottom: 10px !important;
	left: 10px !important;
	width: auto !important;
	min-height: 32px !important;
	border-radius: 999px !important;
	padding: 7px 10px !important;
	font-size: 12px !important;
	line-height: 1 !important;
	box-shadow: 0 10px 30px rgba(3, 15, 30, 0.16) !important;
}

@media (max-width: 640px) {
	.cky-consent-container,
	#cookie-law-info-bar {
		inset: auto 10px 10px 10px !important;
		width: auto !important;
		max-width: none !important;
	}

	.cky-consent-bar,
	#cookie-law-info-bar {
		border-radius: 14px !important;
		padding: 12px !important;
	}

	.cky-notice,
	.cli-bar-container {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	.cky-notice-btn-wrapper,
	.cli-bar-btn_container {
		justify-content: stretch !important;
	}

	.cky-btn,
	.cli-plugin-button {
		flex: 1 1 auto !important;
		text-align: center !important;
	}
}
