.privacy-choices {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	pointer-events: none;
	visibility: hidden;
}

.privacy-choices.is-open {
	pointer-events: auto;
	visibility: visible;
}

.privacy-choices.is-open .privacy-choices__panel {
	transform: translateY(0);
}

.privacy-choices__panel {
	background: #fff;
	border-radius: 48px 48px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
	padding: 40px 48px 28px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.privacy-choices__title {
	margin: 0;
	color: #222;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.privacy-choices__form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.privacy-choices__options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 28px 48px;
	margin: 32px 0 28px;
}

.privacy-choices__option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #222;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	user-select: none;
}

.privacy-choices__option input[type='checkbox'] {
	-webkit-appearance: none;
	appearance: none;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 2px solid #1a73e8;
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	position: relative;
}

.privacy-choices__option input[type='checkbox']:checked {
	background: #1a73e8;
}

.privacy-choices__option input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.privacy-choices__option input[type='checkbox']:focus {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
	box-shadow: none;
}

.privacy-choices__confirm {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid #222;
	border-radius: 999px;
	color: #222;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	margin: 0 0 28px;
	min-width: 120px;
	padding: 12px 36px;
	box-shadow: none;
}

.privacy-choices__confirm:hover,
.privacy-choices__confirm:focus {
	background: #f2f2f2;
	box-shadow: none;
	outline: none;
}

.privacy-choices__notices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	margin: 0;
	text-align: center;
}

.privacy-choices__notices a {
	color: #222;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.privacy-choices__notices a:hover,
.privacy-choices__notices a:focus {
	text-decoration: underline;
}

.privacy-choices-toast {
	position: fixed;
	left: 50%;
	bottom: 32px;
	z-index: 10001;
	transform: translateX(-50%) translateY(12px);
	background: #243153;
	color: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	padding: 12px 20px;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	max-width: calc(100% - 32px);
	text-align: center;
}

.privacy-choices-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	visibility: visible;
}

@media (max-width: 715px) {
	.privacy-choices__panel {
		padding: 32px 20px 24px;
		border-radius: 32px 32px 0 0;
		min-height: 0;
	}

	.privacy-choices__options {
		flex-direction: column;
		align-items: flex-start;
		width: fit-content;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		gap: 18px;
	}
}
