.cookie-modal {
	background-color: #14141450;
	display: none;
	font-family: "roman", sans-serif;
	inset: 0;
	position: fixed;
	z-index: 120;
}

.cookie-modal--open {
	display: block;
}

.cookie-modal__dialog {
	border-radius: 12px;
	background-color: #fff;
	color: #333333;
	left: 50%;
	max-height: 95%;
	max-width: 768px;
	overflow-y: auto;
	position: fixed;
	top: 50%;
	transform: translateY(-50%) translateX(-50%);
	width: 100%;
}

.cookie-modal__dialog--small {
	width: fit-content;
}

.cookie-modal__main {
	display: none;
}

.cookie-modal__main--is-active {
	display: block;
}

.cookie-modal__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	padding: 32px 32px 0;
}

.cookie-modal__body {
	padding: 32px 32px 0;
}

.cookie-modal__subtitle-container {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	max-width: 342px;
}
.cookie-modal__subtitle {
	font-size: 16px;
	font-weight: 700;
	line-height: 18.4px;
}

.cookie-modal__text {
	font-size: 14px;
	line-height: 16px;
	margin-bottom: 24px;
}

.cookie-modal__block:last-of-type .cookie-modal__text {
	margin-bottom: 0;
}

.cookie-modal__footer {
	display: flex;
	gap: 24px;
	padding: 32px;
}

.cookie-modal__button {
	background-color: #01835b;
	border: 2px solid #01835b;
	color: #fff;
	cursor: pointer;
	border-radius: 12px;
	font-family: "roman", sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 24px;
	margin: 0;
	padding: 10px 32px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.cookie-modal__button:focus {
	border: 2px dashed #b9eacc;
}

.cookie-modal__button:hover {
	background-color: #015f41;
	border-color: #015f41;
}

.cookie-modal__button:first-of-type {
	margin-left: auto;
}

.cookie-modal__link {
	color: #01835b;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	line-height: 18.4px;
	padding: 12px 0;
	text-decoration: underline;
}

.cookie-modal__switch {
	display: inline-block;
	height: 24px;
	position: relative;
	width: 44px;
}

.cookie-modal__checkbox { 
	height: 0;
	opacity: 0;
	width: 0;
}

.cookie-modal__switch-slider {
	background-color: #d1d1d1;
	background-image: url(/static/g/switch.svg);
	background-size: cover;
	border-radius: 24px;
	cursor: pointer;
	inset: 0;
	position: absolute;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.cookie-modal__switch-slider:before {
	background-color: #fff;
	border-radius: 100%;
	bottom: 2px;
	content: "";
	height: 20px;
	left: 2px;
	position: absolute;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	width: 20px;
}

.cookie-modal__checkbox:checked + .cookie-modal__switch-slider {
	background-color: #01835b;
}

.cookie-modal__checkbox:focus + .cookie-modal__switch-slider {
	outline: 1px solid #01835b;
}

.cookie-modal__checkbox:checked + .cookie-modal__switch-slider:before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

@media (max-width: 768px) {
	.cookie-modal__footer {
		flex-direction: column;
		gap: 12px;
	}

	.cookie-modal__button {
		width: 100%;
	}

	.cookie-modal__link {
		text-align: center;
		width: 100%;
	}
}

/* LOADER / DONE */
.cookie-modal__loader-container,
.cookie-modal__done-container {
	display: none;
	flex-direction: column;
	padding: 32px;
	width: 314px;
}

.cookie-modal__loader-container--is-active,
.cookie-modal__done-container--is-active {
	display: flex;
}

.cookie-modal__loader-image-container,
.cookie-modal__done-image-container {
	height: 124px;
	margin: 0 auto 18px;
	width: 124px;
}

.cookie-modal__loader-image,
.cookie-modal__done-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cookie-modal__loader-title,
.cookie-modal__done-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.2px;
	line-height: 23px;
	margin-bottom: 8px;
	text-align: center;
}

.cookie-modal__loader-text,
.cookie-modal__done-text {
	font-size: 16px;
	font-style: italic;
	letter-spacing: -0.16px;
	line-height: 18.4px;
	text-align: center;
}