/*
 * Cookie consent notice (markup in inc/panel/runtime-site.php, behaviour in privacy-popup.js).
 * BRAVE styled this through the wp-site-core plugin; Ogen Katan has no such plugin, so without
 * these rules the notice renders in the page flow and adds its own height to every page.
 * Brand values come from the theme tokens: ACCENT #2B3380, DARK #242541, 200 #F7F7FA.
 */

.ogen-privacy-popup {
	position: fixed;
	z-index: 90;
	inset-inline: 16px;
	bottom: max(16px, env(safe-area-inset-bottom, 0px));
	margin-inline: auto;
	max-width: 760px;
	background: #fff;
	border: 1px solid #d5d6e6;
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(36, 37, 65, .14);
	font-size: 15px;
	line-height: 1.45;
	color: #242541;
}

.ogen-privacy-popup[hidden] {
	display: none;
}

.ogen-privacy-popup__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 16px 20px;
}

.ogen-privacy-popup__content {
	flex: 1 1 320px;
	min-width: 0;
}

.ogen-privacy-popup__heading {
	margin: 0 0 2px;
	font-weight: 700;
	font-size: 16px;
}

.ogen-privacy-popup__text {
	margin: 0;
	color: #4d5494;
}

.ogen-privacy-popup__text a {
	color: #2b3380;
	text-decoration: underline;
}

.ogen-privacy-popup__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.ogen-privacy-popup__btn,
.ogen-privacy-popup__decline {
	min-height: 42px;
	padding: 0 22px;
	border-radius: 500px;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .18s, color .18s;
}

.ogen-privacy-popup__btn {
	background: #2b3380;
	border: 1px solid #2b3380;
	color: #fff;
}

.ogen-privacy-popup__decline {
	background: #f7f7fa;
	border: 1px solid #d5d6e6;
	color: #242541;
}

.ogen-privacy-popup__btn:hover,
.ogen-privacy-popup__btn:focus-visible {
	background: #242541;
	border-color: #242541;
}

.ogen-privacy-popup__decline:hover,
.ogen-privacy-popup__decline:focus-visible {
	background: #d5d6e6;
}

@media (prefers-reduced-motion: reduce) {
	.ogen-privacy-popup__btn,
	.ogen-privacy-popup__decline {
		transition: none;
	}
}
