/* ============================
   APEXWEB COOKIE CONSENT
============================ */

.apex-cookie-consent,
.apex-cookie-consent * {
	box-sizing: border-box;
}

.apex-cookie-consent[hidden] {
	display: none !important;
}

.apex-cookie-consent {
	--apex-cookie-ink: #f8fafc;
	--apex-cookie-muted: #aab3c2;
	--apex-cookie-dark: #090b10;
	--apex-cookie-cyan: #37d6ff;
	--apex-cookie-green: #b9ff66;
	--apex-cookie-coral: #ff6f61;
	position: fixed;
	right: 0;
	bottom: 22px;
	left: 0;
	z-index: 99990;
	width: min(1080px, calc(100% - 40px));
	margin: 0 auto;
	color: var(--apex-cookie-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	opacity: 0;
	pointer-events: none;
	transform: translateY(18px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.apex-cookie-consent.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.apex-cookie-consent__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	padding: 18px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(55, 214, 255, 0.13), transparent 28%),
		linear-gradient(315deg, rgba(255, 111, 97, 0.12), transparent 32%),
		rgba(9, 11, 16, 0.9);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
	backdrop-filter: blur(18px);
}

.apex-cookie-consent__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.42;
}

.apex-cookie-consent__inner::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--apex-cookie-cyan), var(--apex-cookie-green), var(--apex-cookie-coral));
}

.apex-cookie-consent__copy,
.apex-cookie-consent__actions {
	position: relative;
	z-index: 1;
}

.apex-cookie-consent__copy {
	min-width: 0;
}

.apex-cookie-consent__kicker {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin: 0 0 10px;
	padding: 0 11px;
	border: 1px solid rgba(185, 255, 102, 0.42);
	border-radius: 8px;
	background: rgba(185, 255, 102, 0.09);
	color: var(--apex-cookie-green);
	font-size: 0.76rem;
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
}

.apex-cookie-consent h2 {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 1.12rem;
	font-weight: 950;
	line-height: 1.16;
	letter-spacing: 0;
}

.apex-cookie-consent p {
	max-width: 700px;
	margin: 0;
	color: rgba(248, 250, 252, 0.76);
	font-size: 0.96rem;
	font-weight: 560;
	line-height: 1.52;
}

.apex-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

.apex-cookie-consent__link,
.apex-cookie-consent__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 950;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.apex-cookie-consent__link {
	padding: 0 4px;
	color: rgba(248, 250, 252, 0.72);
}

.apex-cookie-consent__link:hover,
.apex-cookie-consent__link:focus-visible {
	color: #ffffff;
}

.apex-cookie-consent__button {
	position: relative;
	padding: 0 16px;
	border: 1px solid transparent;
	appearance: none;
	cursor: pointer;
	font-family: inherit;
	clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.apex-cookie-consent__button:focus-visible,
.apex-cookie-consent__link:focus-visible {
	outline: 2px solid rgba(185, 255, 102, 0.9);
	outline-offset: 3px;
}

.apex-cookie-consent__button-primary {
	border-color: rgba(185, 255, 102, 0.42);
	background: linear-gradient(135deg, rgba(185, 255, 102, 0.96), rgba(55, 214, 255, 0.96));
	color: #061116;
	box-shadow: 0 16px 44px rgba(55, 214, 255, 0.22);
}

.apex-cookie-consent__button-secondary {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.apex-cookie-consent__button-primary:hover,
.apex-cookie-consent__button-primary:focus-visible {
	color: #061116;
	filter: saturate(1.08);
	transform: translateY(-2px);
}

.apex-cookie-consent__button-secondary:hover,
.apex-cookie-consent__button-secondary:focus-visible {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.apex-cookie-consent {
		transition: none;
	}

	.apex-cookie-consent__link,
	.apex-cookie-consent__button {
		transition: none;
	}
}

@media (max-width: 760px) {
	.apex-cookie-consent {
		bottom: 14px;
		width: min(100% - 28px, 1080px);
	}

	.apex-cookie-consent__inner {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 14px;
		background:
			linear-gradient(145deg, rgba(55, 214, 255, 0.13), transparent 42%),
			rgba(9, 11, 16, 0.92);
	}

	.apex-cookie-consent__kicker {
		min-height: 28px;
		margin-bottom: 8px;
		font-size: 0.7rem;
	}

	.apex-cookie-consent h2 {
		font-size: 1rem;
	}

	.apex-cookie-consent p {
		font-size: 0.9rem;
		line-height: 1.46;
	}

	.apex-cookie-consent__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.apex-cookie-consent__link {
		grid-column: 1 / -1;
		justify-content: flex-start;
		min-height: 28px;
	}

	.apex-cookie-consent__button {
		width: 100%;
		min-height: 42px;
		padding: 0 12px;
	}
}
