.fc-cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	padding: 16px;
	transform: translateY(110%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	font-family: "Roboto", Arial, sans-serif;
}

.fc-cookie-consent.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.fc-cookie-consent__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 24px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(23, 23, 23, 0.08);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(23, 23, 23, 0.12);
	backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fc-cookie-consent__text {
	margin: 0;
	color: #171717;
	font-size: 14px;
	line-height: 1.55;
	flex: 1 1 auto;
}

.fc-cookie-consent__text a {
	color: #171717;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fc-cookie-consent__text a:hover {
	color: #000;
}

.fc-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
	justify-content: flex-end;
}

.fc-cookie-consent__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.fc-cookie-consent__btn:hover {
	transform: translateY(-1px);
}

.fc-cookie-consent__btn--primary {
	background: #CFF500;
	color: #171717;
	border-color: #CFF500;
}

.fc-cookie-consent__btn--primary:hover {
	background: #bde800;
	border-color: #bde800;
}

.fc-cookie-consent__btn--secondary {
	background: #f5f5f5;
	color: #171717;
	border-color: #d1d1d1;
}

.fc-cookie-consent__btn--secondary:hover {
	background: #ebebeb;
}

.fc-cookie-consent__btn--ghost {
	background: transparent;
	color: #171717;
	border-color: #171717;
}

.fc-cookie-consent__btn--ghost:hover {
	background: rgba(23, 23, 23, 0.05);
}

.fc-cookie-settings {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fc-cookie-settings[hidden] {
	display: none;
}

.fc-cookie-settings__overlay {
	position: absolute;
	inset: 0;
	background: rgba(23, 23, 23, 0.45);
}

.fc-cookie-settings__panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 28px 24px 24px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(23, 23, 23, 0.18);
}

.fc-cookie-settings__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f5f5f5;
	color: #171717;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.fc-cookie-settings__close:hover {
	background: #ebebeb;
}

.fc-cookie-settings__title {
	margin: 0 0 10px;
	color: #171717;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.fc-cookie-settings__description {
	margin: 0 0 20px;
	color: #54595f;
	font-size: 14px;
	line-height: 1.55;
}

.fc-cookie-settings__item {
	padding: 16px 0;
	border-top: 1px solid #ebebeb;
}

.fc-cookie-settings__item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.fc-cookie-settings__item-title {
	margin: 0 0 6px;
	color: #171717;
	font-size: 16px;
	font-weight: 600;
}

.fc-cookie-settings__item-text {
	margin: 0;
	color: #54595f;
	font-size: 13px;
	line-height: 1.5;
}

.fc-cookie-settings__badge {
	flex: 0 0 auto;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f5f5f5;
	color: #54595f;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.fc-cookie-settings__switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
	flex: 0 0 auto;
}

.fc-cookie-settings__switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.fc-cookie-settings__slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: #d1d1d1;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.fc-cookie-settings__slider:before {
	content: "";
	position: absolute;
	left: 3px;
	bottom: 3px;
	width: 22px;
	height: 22px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.fc-cookie-settings__switch input:checked + .fc-cookie-settings__slider {
	background: #CFF500;
}

.fc-cookie-settings__switch input:checked + .fc-cookie-settings__slider:before {
	transform: translateX(20px);
}

.fc-cookie-settings__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.fc-cookie-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 999998;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid rgba(23, 23, 23, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #171717;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(23, 23, 23, 0.08);
}

.fc-cookie-reopen.is-visible {
	display: inline-flex;
	align-items: center;
}

.fc-cookie-reopen:hover {
	background: #fff;
}

@media (max-width: 900px) {
	.fc-cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.fc-cookie-consent__actions {
		justify-content: stretch;
	}

	.fc-cookie-consent__btn {
		flex: 1 1 calc(50% - 5px);
		white-space: normal;
		text-align: center;
	}
}

@media (max-width: 520px) {
	.fc-cookie-consent {
		padding: 10px;
	}

	.fc-cookie-consent__inner {
		padding: 16px;
		border-radius: 14px;
	}

	.fc-cookie-consent__actions {
		flex-direction: column;
	}

	.fc-cookie-consent__btn {
		width: 100%;
		flex: none;
	}

	.fc-cookie-settings__item-head {
		flex-direction: column;
	}

	.fc-cookie-settings__actions {
		flex-direction: column;
	}
}
