.fe-consent {
	--fe-consent-navy: #0f2747;
	--fe-consent-blue: #184d7a;
	--fe-consent-accent: #ffb690;
	--fe-consent-paper: #fff;
	--fe-consent-muted: #5c6878;
	font-family: var(--fe-font-sans, "Plus Jakarta Sans", sans-serif);
}

.fe-consent[hidden],
.fe-consent [hidden] {
	display: none !important;
}

.fe-consent__banner {
	position: fixed;
	left: 50%;
	bottom: clamp(18px, 3vw, 32px);
	transform: translateX(-50%);
	z-index: 100000;
	width: min(920px, calc(100vw - 32px));
	padding: 24px 28px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	background: var(--fe-consent-paper);
	border: 1px solid rgba(15, 39, 71, .14);
	border-radius: 10px;
	box-shadow: 0 18px 55px rgba(15, 39, 71, .28);
	color: var(--fe-consent-navy);
}

.fe-consent__banner-copy strong {
	display: block;
	font-size: 16px;
	font-weight: 800;
}

.fe-consent__banner-copy p {
	margin: 5px 0 7px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--fe-consent-muted);
}

.fe-consent__banner-copy a {
	font-size: 12px;
	font-weight: 700;
	color: var(--fe-consent-blue);
}

.fe-consent__banner-actions {
	display: grid;
	gap: 7px;
	min-width: 178px;
}

.fe-consent__button {
	appearance: none;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid rgba(15, 39, 71, .18);
	border-radius: 10px;
	background: #f7f9fc;
	color: var(--fe-consent-navy);
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fe-consent__button:hover {
	border-color: rgba(15, 39, 71, .35);
	background: #edf2f7;
}

.fe-consent__button--primary {
	background: var(--fe-consent-navy);
	border-color: var(--fe-consent-navy);
	color: #fff;
}

.fe-consent__button--text {
	min-height: auto;
	padding: 3px;
	border: 0;
	background: transparent;
	color: var(--fe-consent-blue);
}

.fe-consent :is(button, a, input):focus-visible,
.fe-consent-embed button:focus-visible {
	outline: 3px solid var(--fe-consent-accent, #ffb690);
	outline-offset: 3px;
}

.fe-consent__modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 18px;
}

.fe-consent__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 20, 38, .72);
	backdrop-filter: blur(5px);
}

.fe-consent__dialog {
	position: relative;
	z-index: 1;
	width: min(620px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
	padding: clamp(24px, 4vw, 36px);
	border-radius: 20px;
	background: var(--fe-consent-paper);
	box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
	color: var(--fe-consent-navy);
}

.fe-consent__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #eef2f7;
	color: var(--fe-consent-navy);
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.fe-consent__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--fe-consent-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fe-consent__dialog h2 {
	margin: 0 44px 8px 0;
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.15;
}

.fe-consent__dialog > p {
	margin: 0;
	color: var(--fe-consent-muted);
	font-size: 14px;
	line-height: 1.6;
}

.fe-consent__categories {
	margin: 24px 0;
	border: 1px solid #e3e8ef;
	border-radius: 14px;
	overflow: hidden;
}

.fe-consent__category {
	min-height: 88px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #fff;
}

.fe-consent__category + .fe-consent__category {
	border-top: 1px solid #e3e8ef;
}

.fe-consent__category strong {
	display: block;
	font-size: 14px;
}

.fe-consent__category p {
	margin: 3px 0 0;
	color: var(--fe-consent-muted);
	font-size: 12px;
	line-height: 1.5;
}

.fe-consent__always {
	flex: 0 0 auto;
	color: #167052;
	font-size: 11px;
	font-weight: 800;
}

.fe-consent__switch {
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
}

.fe-consent__switch input {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.fe-consent__switch span {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #cbd3df;
	transition: background .18s ease;
}

.fe-consent__switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	transition: transform .18s ease;
}

.fe-consent__switch input:checked + span {
	background: var(--fe-consent-blue);
}

.fe-consent__switch input:checked + span::after {
	transform: translateX(20px);
}

.fe-consent__switch input:focus-visible + span {
	outline: 3px solid var(--fe-consent-accent);
	outline-offset: 3px;
}

.fe-consent__dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.fe-consent-open {
	overflow: hidden;
}

.fe-consent-embed {
	position: relative;
	min-height: 240px;
	display: grid;
	place-items: center;
	background: #edf2f7;
	border: 1px solid #dce3ec;
	border-radius: 14px;
	overflow: hidden;
}

.fe-consent-embed iframe {
	display: none;
}

.fe-consent-embed.is-active {
	display: block;
	min-height: 0;
	background: transparent;
	border: 0;
}

.fe-consent-embed.is-active iframe {
	display: block;
}

.fe-consent-embed.is-active .fe-consent-embed__notice {
	display: none;
}

.fe-consent-embed__notice {
	max-width: 430px;
	padding: 28px;
	text-align: center;
	color: #0f2747;
}

.fe-consent-embed__notice strong,
.fe-consent-embed__notice span {
	display: block;
}

.fe-consent-embed__notice span {
	margin: 7px 0 14px;
	font-size: 13px;
	color: #5c6878;
}

.fe-consent-embed__notice button {
	padding: 9px 14px;
	border: 1px solid #184d7a;
	border-radius: 9px;
	background: #fff;
	color: #184d7a;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
}

/* Keep consent controls readable when the site is in its dark theme. */
html[data-fe-theme="dark"] .fe-consent {
	--fe-consent-navy: #f2efe9;
	--fe-consent-blue: #9fc8ee;
	--fe-consent-accent: #f2b184;
	--fe-consent-paper: #1a1c18;
	--fe-consent-muted: #c8bdb4;
}

html[data-fe-theme="dark"] .fe-consent__banner,
html[data-fe-theme="dark"] .fe-consent__dialog {
	background: #1a1c18;
	border-color: rgba(227, 154, 103, .42);
	box-shadow: 0 22px 60px rgba(0, 0, 0, .46);
	color: #f2efe9;
}

html[data-fe-theme="dark"] .fe-consent__button {
	background: #22231f;
	border-color: rgba(227, 154, 103, .38);
	color: #f2efe9;
}

html[data-fe-theme="dark"] .fe-consent__button:hover {
	background: #2a2c27;
	border-color: #e39a67;
}

html[data-fe-theme="dark"] .fe-consent__button--primary {
	background: #e39a67;
	border-color: #e39a67;
	color: #21150f;
}

html[data-fe-theme="dark"] .fe-consent__category {
	background: #22231f;
	color: #f2efe9;
}

html[data-fe-theme="dark"] .fe-consent__categories,
html[data-fe-theme="dark"] .fe-consent__category + .fe-consent__category {
	border-color: rgba(227, 154, 103, .28);
}

html[data-fe-theme="dark"] .fe-consent__close {
	background: #2a2c27;
	color: #f2efe9;
}

html[data-fe-theme="dark"] .fe-consent__banner-copy a,
html[data-fe-theme="dark"] .fe-consent__dialog a {
	color: #9fc8ee !important;
}

html[data-fe-theme="dark"] .fe-consent__banner-copy a:hover,
html[data-fe-theme="dark"] .fe-consent__dialog a:hover {
	color: #ffd0ad !important;
}

@media (max-width: 620px) {
	.fe-consent__banner {
		left: 12px;
		right: 12px;
		bottom: calc(82px + env(safe-area-inset-bottom));
		transform: none;
		width: auto;
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 17px;
	}

	body:not(.fe-has-dock) .fe-consent__banner {
		bottom: max(12px, env(safe-area-inset-bottom));
	}

	.fe-consent__banner-actions {
		grid-template-columns: 1fr 1fr;
		min-width: 0;
	}

	.fe-consent__button--text {
		grid-column: 1 / -1;
	}

	.fe-consent__category {
		align-items: flex-start;
	}

	.fe-consent__dialog-actions {
		flex-direction: column-reverse;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fe-consent *,
	.fe-consent *::before,
	.fe-consent *::after {
		transition: none !important;
	}
}

.fe-consent__error {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100010;
    width: min(540px, calc(100% - 32px));
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #b45309;
    border-radius: 12px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.5;
}

/* Keep interaction colors paired instead of inheriting generic button states. */
html[data-fe-theme="dark"] .fe-consent .fe-consent__button--primary:is(:hover, :focus-visible, :active) {
    background: #f2b184;
    border-color: #f2b184;
    color: #21150f;
}
html[data-fe-theme="dark"] .fe-consent .fe-consent__button--text {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid rgba(227, 154, 103, .38);
    background: transparent;
    color: #f2efe9;
}
html[data-fe-theme="dark"] .fe-consent .fe-consent__button--text:is(:hover, :focus-visible, :active),
html[data-fe-theme="dark"] .fe-consent .fe-consent__close:is(:hover, :focus-visible, :active) {
    background: #2a2c27;
    color: #f2efe9;
}
html[data-fe-theme="dark"] .fe-consent__dialog h2,
html[data-fe-theme="dark"] .fe-consent__category strong { color: #f2efe9; }
html[data-fe-theme="dark"] .fe-consent__always { color: #8dd9b5; }
html[data-fe-theme="dark"] .fe-consent__switch span { background: #657080; }
html[data-fe-theme="dark"] .fe-consent__switch input:checked + span { background: #184d7a; }
html[data-fe-theme="dark"] .fe-consent__error { background: #39291d; color: #ffd0ad; border-color: #e39a67; }
