:root {
	--flc-accent: var(--color-primary, var(--primary, #2563eb));
}

.flc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#flc-cookie-banner {
	position: fixed;
	z-index: 99999;
	color: #343434;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	line-height: 1.55;
	box-sizing: border-box;
	background: white;
}

.flc-cookie-banner--bottom-bar {
	bottom: 20px;
	max-width: 380px;
	width: calc(100% - 40px);
	padding: 18px 20px;
	flex-direction: column;
	border-radius: 10px;
	border: 1px solid #c1c1c1;
	box-shadow: 0 0 14px rgb(0 0 0 / 7%);
}

.flc-cookie-banner--bottom-left,
.flc-cookie-banner--bottom-right {
	bottom: 20px;
	max-width: 380px;
	width: calc( 100% - 40px );
	padding: 18px 20px;
	flex-direction: column;
	border-radius: 10px;
	border: 1px solid #3f3f46;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.flc-cookie-banner--bottom-left  { left: 20px; }
.flc-cookie-banner--bottom-right { right: 20px; }

.flc-cookie-banner__content {
	flex: 1;
	min-width: 0;
}

.flc-cookie-banner__text {
	margin: 0;
}

.flc-cookie-banner__policy-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.flc-cookie-banner__policy-link:hover,
.flc-cookie-banner__policy-link:focus {
	color: var(--flc-accent);
}

.flc-cookie-banner__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	align-items: center;
}

.flc-cookie-banner--bottom-left .flc-cookie-banner__actions,
.flc-cookie-banner--bottom-right .flc-cookie-banner__actions {
	margin-top: 12px;
}

.flc-btn {
	padding: 7px 18px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	line-height: 1;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	font-family: inherit;
	min-height: 36px;
	border: 1px solid;
}

.flc-btn--accept {
	background: var(--flc-accent);
	color: #fff;
	border-color: var(--flc-accent);
}

.flc-btn--accept:hover,
.flc-btn--accept:focus {
	background: white;
	color: var(--flc-accent);
}

.flc-btn--decline {
	background: transparent;
	color: #52525b;
	border-color: #52525b;
}

.flc-btn--decline:hover,
.flc-btn--decline:focus {
	color: white;
	background: #52525b;
}

.flc-cookie-banner--bottom-left .flc-btn,
.flc-cookie-banner--bottom-right .flc-btn {
	flex: 1;
	text-align: center;
}

.flc-reopen {
	position: fixed;
	bottom: 20px;
	z-index: 99998;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--flc-accent);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
	transition: filter 0.15s, transform 0.15s;
	font-family: inherit;
	padding: 8px;
}

.flc-reopen:hover,
.flc-reopen:focus {
	filter: brightness(0.88);
	transform: scale(1.08);
	color: #fff;
}

.flc-reopen--bottom-left  { left: 20px; }
.flc-reopen--bottom-right { right: 20px; }

@media (max-width: 991px) {
	.flc-reopen {
		bottom: 80px;
	}
}

@media ( max-width: 600px ) {
	.flc-cookie-banner--bottom-bar {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px 16px;
	}

	.flc-cookie-banner--bottom-bar .flc-cookie-banner__actions {
		width: 100%;
	}

	.flc-cookie-banner--bottom-bar .flc-btn {
		flex: 1;
		text-align: center;
	}

	.flc-cookie-banner--bottom-left,
	.flc-cookie-banner--bottom-right {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
		width: auto;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.flc-btn,
	.flc-reopen {
		transition: none;
	}

	.flc-reopen:hover {
		transform: none;
	}
}