/* ConsultxME Consent and GTM - cookie banner */

:root {
	--cx-accent: #1f3a5f;
}

#cx-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	display: flex;
	justify-content: center;
	pointer-events: none;
	font-family: inherit;
}

#cx-consent[hidden],
.cx-consent-reopen[hidden] {
	display: none !important;
}

#cx-consent:focus {
	outline: none;
}

#cx-consent .cx-consent__inner {
	pointer-events: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 960px;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	background: #ffffff;
	color: #1d2433;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

#cx-consent .cx-consent__body {
	flex: 1 1 auto;
	min-width: 0;
}

#cx-consent .cx-consent__title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #1d2433;
}

#cx-consent .cx-consent__text {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #3b4456;
}

#cx-consent .cx-consent__text a {
	color: var(--cx-accent);
	text-decoration: underline;
	white-space: nowrap;
}

#cx-consent .cx-consent__actions {
	flex: 0 0 auto;
	display: flex;
	gap: 10px;
}

/* Accept and Reject have equal weight on purpose (no nudging). */
#cx-consent .cx-consent__btn {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	min-width: 140px;
	margin: 0;
	padding: 12px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	color: #ffffff;
	background: var(--cx-accent);
	border: 1px solid var(--cx-accent);
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

#cx-consent .cx-consent__btn:hover {
	opacity: 0.88;
}

#cx-consent .cx-consent__btn:focus-visible,
.cx-consent-reopen:focus-visible,
.cx-consent-link:focus-visible {
	outline: 2px solid var(--cx-accent);
	outline-offset: 2px;
}

.cx-consent-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 2147482999;
	margin: 0;
	padding: 8px 12px;
	font: inherit;
	font-size: 12px;
	line-height: 1.2;
	color: #1d2433;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	cursor: pointer;
	opacity: 0.85;
}

.cx-consent-reopen:hover {
	opacity: 1;
}

.cx-consent-link {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 680px) {
	#cx-consent {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}

	#cx-consent .cx-consent__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px;
	}

	#cx-consent .cx-consent__actions {
		width: 100%;
	}

	#cx-consent .cx-consent__btn {
		flex: 1 1 0;
		min-width: 0;
	}

	.cx-consent-reopen {
		left: 10px;
		bottom: 10px;
	}
}

@media print {
	#cx-consent,
	.cx-consent-reopen {
		display: none !important;
	}
}
