.ak-cookie-banner,
.ak-cookie-modal {
	color: #0c1c2e;
	font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.ak-cookie-banner *,
.ak-cookie-modal * {
	box-sizing: border-box;
}

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

html.ak-cookie-modal-open {
	overflow: hidden;
}

.ak-cookie-banner {
	background: #0c1c2e;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	bottom: 1.25rem;
	box-shadow: 0 24px 70px rgba(2, 18, 35, 0.34);
	left: 1.25rem;
	max-width: min(660px, calc(100vw - 2.5rem));
	padding: clamp(1.2rem, 2.5vw, 1.65rem);
	position: fixed;
	z-index: 9999;
}

.ak-cookie-banner__content {
	display: grid;
	gap: 0.8rem;
}

.ak-cookie-banner p,
.ak-cookie-modal p {
	margin: 0;
}

.ak-cookie-banner__eyebrow,
.ak-cookie-modal__eyebrow {
	color: #f7941d;
	font-family: "Montserrat", "Arial Black", "Segoe UI", Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ak-cookie-banner h2 {
	color: #fff;
	font-family: "Montserrat", "Arial Black", "Segoe UI", Arial, sans-serif;
	font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0;
}

.ak-cookie-banner #ak-cookie-banner-description {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
	line-height: 1.55;
}

.ak-cookie-banner a {
	color: #fff;
	font-weight: 700;
	text-decoration-color: #f7941d;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.ak-cookie-banner__policy,
.ak-cookie-modal__policy {
	font-size: 0.92rem;
}

.ak-cookie-modal__policy a {
	color: #173a5a;
	font-weight: 700;
}

.ak-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.35rem;
}

.ak-cookie-button {
	align-items: center;
	background: #f7941d;
	border: 2px solid #f7941d;
	border-radius: 999px;
	color: #0c1c2e;
	cursor: pointer;
	display: inline-flex;
	font: 750 0.92rem "Montserrat", "Arial Black", "Segoe UI", Arial, sans-serif;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 0.7rem 1rem;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.ak-cookie-banner .ak-cookie-button--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.ak-cookie-banner .ak-cookie-button--secondary:hover,
.ak-cookie-banner .ak-cookie-button--secondary:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #0c1c2e;
}

.ak-cookie-modal .ak-cookie-button--secondary {
	background: #fff;
	border-color: #0c1c2e;
	color: #0c1c2e;
}

.ak-cookie-modal .ak-cookie-button--secondary:hover,
.ak-cookie-modal .ak-cookie-button--secondary:focus-visible {
	background: #f6f8fb;
}

.ak-cookie-button:focus-visible,
.ak-cookie-banner a:focus-visible,
.ak-cookie-modal a:focus-visible,
.ak-cookie-switch input:focus-visible + span {
	outline: 3px solid #67b7ff;
	outline-offset: 3px;
}

.ak-cookie-modal {
	align-items: center;
	background: rgba(2, 18, 35, 0.78);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 1rem;
	position: fixed;
	z-index: 10000;
}

.ak-cookie-modal__panel {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(2, 18, 35, 0.32);
	display: grid;
	gap: 0.75rem;
	max-height: calc(100vh - 2rem);
	max-width: 620px;
	overflow-y: auto;
	padding: clamp(1.25rem, 3vw, 1.8rem);
	width: 100%;
}

.ak-cookie-modal__panel h2 {
	color: #0c1c2e;
	font: 800 clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem)/1.12 "Montserrat", "Arial Black", "Segoe UI", Arial, sans-serif;
	letter-spacing: -0.025em;
	margin: 0;
}

.ak-cookie-modal #ak-cookie-description {
	color: #5c6b7d;
	line-height: 1.55;
}

.ak-cookie-modal form {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.4rem;
}

.ak-cookie-category {
	align-items: center;
	background: #f6f8fb;
	border: 1px solid #e4e8ef;
	border-radius: 12px;
	display: grid;
	gap: 0.25rem 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 1rem;
}

.ak-cookie-category > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.65rem;
}

.ak-cookie-category strong {
	color: #0c1c2e;
	font-family: "Montserrat", "Arial Black", "Segoe UI", Arial, sans-serif;
}

.ak-cookie-category > div > span {
	color: #b75400;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ak-cookie-category p {
	color: #5c6b7d;
	font-size: 0.93rem;
	grid-column: 1;
	line-height: 1.45;
}

.ak-cookie-switch {
	cursor: pointer;
	grid-column: 2;
	grid-row: 1 / 3;
	position: relative;
}

.ak-cookie-switch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.ak-cookie-switch > span:first-of-type {
	background: #c9d0da;
	border-radius: 999px;
	display: block;
	height: 28px;
	position: relative;
	transition: background-color 160ms ease;
	width: 50px;
}

.ak-cookie-switch > span:first-of-type::after {
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(2, 18, 35, 0.22);
	content: "";
	height: 22px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform 160ms ease;
	width: 22px;
}

.ak-cookie-switch input:checked + span {
	background: #f7941d;
}

.ak-cookie-switch input:checked + span::after {
	transform: translateX(22px);
}

.ak-cookie-switch input:disabled + span {
	cursor: not-allowed;
	opacity: 0.72;
}

@media (max-width: 620px) {
	.ak-cookie-banner {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		bottom: 0;
		left: 0;
		max-width: 100vw;
		right: 0;
	}

	.ak-cookie-banner__actions {
		display: grid;
	}

	.ak-cookie-button {
		width: 100%;
	}

	.ak-cookie-modal {
		align-items: flex-end;
		padding: 0;
	}

	.ak-cookie-modal__panel {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		max-height: 92vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ak-cookie-button,
	.ak-cookie-switch > span:first-of-type,
	.ak-cookie-switch > span:first-of-type::after {
		transition: none;
	}
}
