.popup-video {
	padding: 0;
}

.popup-classic {
	background: #f5f5f7;
	border-radius: 60px;
	padding: 80px;
	min-width: 768px;
	max-width: 768px;
}

.popup-classic .calendar__form-service {
	display: flex;
	flex-direction: column;
}
.fancybox__content > .f-button.is-close-btn {
	top: 44px;
	right: 44px;
}
.f-button {
	color: #9d9d9d;
}

.popup__title {
	font-size: 56px;
	font-weight: 700;
	line-height: 56px;
	letter-spacing: -0.02em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	margin-bottom: 30px;
}

.popup__subtitle {
	font-size: 24px;
	font-weight: 550;
	line-height: 24px;
	letter-spacing: -0.02em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	margin-bottom: 15px;
}

.popup-classic .calendar__form-service .select2-container .selection .select2-selection--single {
	margin-bottom: 40px;
}

.popup-classic .calendar__form-service .select2-container {
	max-width: 100%;
}

.popup__text {
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: -0.01em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	margin-bottom: 15px;
}
.popup-classic .calendar__form-contacts-inputs-wrapper {
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
}
.fancybox__backdrop {
	background: none;
	backdrop-filter: blur(10px);
}
.popup-classic .calendar__form-service .select2-container .select2-container--open .select2-dropdown--below {
	top: -40px;
}
.with-fancybox .hide-scrollbar .select2-container .select2-dropdown {
	top: -40px;
}

.popup-thanks {
	border-radius: 60px;
	padding: 80px;
	background: #f5f5f7;
	color: black;
	min-height: 343px;
}

.popup-thanks .popup__title {
	margin-bottom: 15px;
}

.popup-thanks .popup__subtitle {
	font-size: 24px;
	font-weight: 550;
	line-height: 24px;
	letter-spacing: -0.02em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	margin-bottom: 30px;
}

.popup-btn-resume {
	background: #e1e1e8;
	padding: 20px;
	width: 100%;
	align-self: center;
	margin: 0 auto;
	max-width: 100%;
	max-height: 58px;
	color: #171819;
	display: block;
	box-shadow: 0px 4px 10px 4px #64646b1a;
}

.personal-data-text {
	/* font-family: 'Inter'; */
	font-size: 14px;
	font-weight: 400;
	line-height: 16.94px;
	text-align: left;
	color: #0f171a;
	max-width: 100%;
}
/* 
.personal-data-text span {
	color: #c20120;
	font-weight: 700;
} */

.personal-data-text a {
	color: #5a5a5a;
	font-family: 'Helvetica', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 13px;
	letter-spacing: -0.01em;
	text-align: left;
    text-decoration: underline;
}

.checkbox-custom {
	position: relative;
	bottom: 10px;
}

.checkbox-custom input[type='checkbox'] {
	/* display: none; */
	opacity: 0;
	position: relative;
	left: 5px;
	top: 33px;
}

.checkbox-custom input[type='checkbox'] ~ b {
	cursor: pointer;
	outline: none;
	position: relative;
	display: inline-block;
	text-align: center;
	background-color: #ced6dd;
	border: none;
	border-radius: 1px;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	line-height: 1;
	text-align: center;
	font-size: 15px;
	color: #000000;
}

.checkbox-custom input[type='checkbox']:checked ~ b:after {
	content: '\2713';
	position: absolute;
	top: 5px;
	left: 6px;
}

.credit-option-text::before {
	position: absolute;
	top: 18px;
	left: -1px;
	content: '';
	width: 39px;
	height: 1px;
	background-color: #c20120;
}

.credit-option-text::after {
	position: absolute;
	top: 16px;
	left: 35px;
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #c20120;
}
.popup-personal-data-wrapper {
	align-self: flex-start !important;
	display: flex;
	width: 100%;
	flex-direction: row;
	gap: 5px;
	align-items: center;
}
.popup-personal-data-text {
	color: #5a5a5a;
	font-family: 'Helvetica', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 13px;
	letter-spacing: -0.01em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
}
/* .popup-personal-data-text span {
	font-weight: 700;
}

.popup-personal-data-text a {
	font-weight: 700;
	color: white;
} */

.checkbox-popup input[type='checkbox']:checked ~ b:after {
	color: #858c92;
}
.checkbox-popup input[type='checkbox'] ~ b {
	background-color: #ced6dd;
	border-radius: 5px;
	top: 12px;
}

.popup-classic .calendar__form-contacts-inputs-wrapper .popup-personal-data-wrapper .checkbox-popup input[type='checkbox'] ~ b {
	background-color: #ced6dd;
	border-radius: 5px;
	top: 0px;
}

@media (max-width: 1500px) and (min-width: 1365px) {
	.checkbox-popup input[type='checkbox'] ~ b {
		background-color: #ced6dd;
		border-radius: 5px;
		top: 12px;
	}
	.popup-classic .calendar__form-contacts-inputs-wrapper .popup-personal-data-wrapper .checkbox-popup input[type='checkbox'] ~ b {
		background-color: #ced6dd;
		border-radius: 5px;
		top: 0px;
	}
}
@media (max-width: 1000px) {
	.checkbox-popup input[type='checkbox'] ~ b {
		background-color: #ced6dd;
		border-radius: 5px;
		top: 0px;
	}
}

@media (max-width: 1200px) {
	.popup-classic .calendar__form-service {
		align-items: start;
	}
}

@media (max-width: 768px) {
	.popup-classic {
		max-width: 100%;
		min-width: 90%;
	}
}

@media (max-width: 580px) {
	.popup-classic {
		padding: 40px 10px;
		border-radius: 20px;
	}
	.is-compact .fancybox__content > .f-button.is-close-btn {
		--f-button-bg: transparent;
	}
	.popup__title {
		font-size: 32px;
		font-weight: 700;
		line-height: 28.8px;
		letter-spacing: -0.02em;
		text-align: left;
		text-underline-position: from-font;
		text-decoration-skip-ink: none;
		margin-bottom: 20px;
	}
	.popup__subtitle {
		margin-bottom: 10px;
		font-size: 18px;
		font-weight: 550;
		line-height: 18px;
		letter-spacing: -0.02em;
		text-align: left;
		text-underline-position: from-font;
		text-decoration-skip-ink: none;
	}

	.is-compact .fancybox__content > .f-button.is-close-btn {
		top: 15px;
		right: 19px;
	}
	.popup-classic .calendar__form-service .select2-container .selection .select2-selection--single {
		margin-bottom: 20px;
	}

	.popup__text {
		font-size: 14px;
		font-weight: 400;
		line-height: 14px;
		letter-spacing: -0.01em;
		text-align: left;
		text-underline-position: from-font;
		text-decoration-skip-ink: none;
	}
}
