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

.fjn-consent {
	position: fixed;
	right: 20px;
	bottom: 20px;
	left: 20px;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 920px;
	margin: 0 auto;
	padding: 18px 20px;
	color: #17211c;
	background: #fff;
	border: 1px solid #ccd8d1;
	border-radius: 6px;
	box-shadow: 0 12px 34px rgba(18, 48, 34, 0.18);
}

.fjn-consent__body strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
}

.fjn-consent__body p {
	margin: 0 0 5px;
	font-size: 14px;
	line-height: 1.65;
}

.fjn-consent__body a {
	color: #006b43;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fjn-consent__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.fjn-consent__button,
.fjn-consent-settings {
	min-height: 42px;
	padding: 9px 16px;
	color: #fff;
	font: inherit;
	font-weight: 700;
	background: #00764a;
	border: 1px solid #00764a;
	border-radius: 4px;
	cursor: pointer;
}

.fjn-consent__button--secondary {
	color: #244234;
	background: #fff;
	border-color: #9eb3a8;
}

.fjn-consent__button:focus-visible,
.fjn-consent-settings:focus-visible {
	outline: 3px solid #f2bf4b;
	outline-offset: 2px;
}

.fjn-consent-settings {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 99999;
	min-height: 34px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #17402e;
	background: #fff;
	border-color: #9eb3a8;
	box-shadow: 0 4px 14px rgba(18, 48, 34, 0.12);
}

@media (max-width: 700px) {
	.fjn-consent {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.fjn-consent__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fjn-consent,
	.fjn-consent-settings {
		scroll-behavior: auto;
	}
}
