/* clean-code-exception:magic_number stylesheet -- geometry and colours match the old arm's cookie_consent.css banner, which the new pages keep */
.cookie_banner {
	position: fixed;
	bottom: 0;
	left: 12px;
	right: 12px;
	z-index: 100000;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	/* Eran 8 Nov (Android): the banner hid the home buttons — keep it compact */
	gap: 4px;
	padding: 6px 10px calc(6px + var(--android_safe_bottom, 0px));
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	background: #2b2b2b;
	color: #cfcfcf;
	direction: rtl;
	text-align: center;
	font-family: var(--font_primary);
	font-size: 15px;
	line-height: 1.3;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.cookie_banner_text {
	display: block;
}

.cookie_banner_icon {
	display: inline-block;
	vertical-align: middle;
	margin-inline-end: 6px;
	width: 21px;
	height: 21px;
	background: url('/images/cookie_banner/cookie_icon.webp') center / contain no-repeat;
}

.cookie_banner_policy {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

.cookie_banner_ok {
	align-self: center;
	height: 22px;
	font-size: 14px;
	margin-right: 4px;
	font-family: inherit;
	cursor: pointer;
}

.cookie_banner_ok:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.cookie_banner {
		flex-direction: row;
		align-items: center;
		gap: 6px;
		padding: 14px 24px;
	}

	.cookie_banner_text {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		gap: 8px;
	}

	.cookie_banner_icon {
		flex: 0 0 auto;
		margin-inline-end: 0;
	}
}
