.fancybox__slide {
    opacity: 0;
    transform: scale(1);
    transition: 0.3s ease;
}

.fancybox__slide.is-selected {
    opacity: 1;
    transform: scale(1.3);
}

.modal {
	width: 600px;
	height: 400px;
	padding: 20px;

	/* border-radius: 20px; */
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	display: none;
}
.modal-call {
	background-image: url(../../img/pop-ups/modal-call-bg-desk.webp);
}
.modal-credit {
	background-image: url(../../img/pop-ups/modal-credit-bg-desk-2.webp);
}
.modal-offer {
	background-image: url(../../img/pop-ups/modal-offer-bg-desk.webp);
}
.modal-fix {
	background-image: url(../../img/pop-ups/modal-fix-bg-desk.webp);
}
.modal__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	height: 100%;
}

.modal-title {
	text-transform: uppercase;

	/* font-family: 'Tactic Sans'; */
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	color: var(--color-white);
}

.modal-list {
    list-style: disc !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    color: var(--color-white);
	padding-left: 20px;
	margin: 13px 0 auto;
}
.modal-list-item {
	list-style: disc !important;
}

.modal-list-item span {
    font-weight: 500;
}

.modal-form {
	/* font-family: 'Inter'; */
}

.modal-form.js-form-guard {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 313px;
}

.modal-form .modal-form__agreement {
	width: 100%;
	max-width: 264px;
	margin-bottom: 10px;
}

.modal__input {
	display: block;

	width: 264px;
	height: 36px;
	padding: 0 16px;

	color: var(--color-black);
	/* border-radius: 30px; */
	background-color: #fff;

	font-size: 12px;

	border: 1px solid transparent;
}

.modal__input--name {
	margin-bottom: 7px;
}
.modal__input--phone {
	margin-bottom: 10px;
}

.modal-btn {
	width: 264px;
	height: 40px;
	margin-bottom: 7px;
	padding: 0 16px;

	/* border-radius: 30px; */
	background-color: var(--color-dark-blue);
	color: var(--color-white);

	font-size: 14px;
}
/* .checkbox-container {
}
.checkbox {
}
.form-input__check {
}
.custom-checkbox {
}
.modal-form .checkbox-text {
	color: var(--color-white);

	font-size: 9px;
}

.modal-form .form-input__check[type='checkbox']:checked + .custom-checkbox {
	width: 14px;
	height: 14px;

	background-image: url(../../img/icons/checkbox-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

.modal-form .form-input__check[type='checkbox'] + .custom-checkbox {
	display: block;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(131, 131, 131, 0.39);
    background-color: transparent;
} */

/* modal thanks and error */

.modal-thanks .f-button svg {
    stroke: black;
}
.modal-thanks {
	width: 476px;
	height: 300px;
	padding: 0;
	background-color: var(--color-white);
}
.modal-thanks .modal__inner {
	align-items: center;
	justify-content: center;

	row-gap: 5px;
}
.modal-thanks .modal-title {
	text-transform: uppercase;

	color: var(--color-dark-blue);

	font-size: 28px;
	font-weight: 500;
	line-height: 120%;
}

.modal-error .modal-title {
	text-transform: uppercase;

	color: var(--color-dark-blue);

	font-size: 25px;
	font-weight: 500;
	line-height: 120%;
}

.modal-thanks .modal-subtitle {
	color: var(--color-dark-blue);

	/* font-family: 'Raleway'; */
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

/* modal thanks and error */

@media screen and (max-width: 768px) {
	.modal-call {
		background-image: url(../../img/pop-ups/modal-call-bg-mob.webp);
	}
	.modal-credit {
		background-image: url(../../img/pop-ups/modal-credit-bg-mob.webp);
	}
	.modal-offer {
		background-image: url(../../img/pop-ups/modal-offer-bg-mob.webp);
	}
	.modal-fix {
		background-image: url(../../img/pop-ups/modal-fix-bg-mob.webp);
	}
	.modal {
		width: 323px;
		height: 428px;
		padding: 20px;

		/* border-radius: 20px; */
	}
	.modal-title {
		font-size: 18px;
	}
	.modal-list {
		font-size: 14px;
	}
	.modal__inner {
		justify-content: unset;
	}
	.modal__input {
		width: 100%;
		height: 35px;

		font-size: 12px;
	}
	.modal-btn {
		width: 100%;
		height: 36px;
		margin-bottom: 0;

		font-size: 12px;
	}
	.modal-form .modal-form__agreement {
		max-width: 100%;
	}

	/* modal thanks and error */

	.modal-thanks {
		width: 285px;
		height: 300px;
		padding: 0;
	}

	.modal-thanks .modal-title {
		margin-bottom: 0;

		font-size: 18px;
		line-height: 1;
	}

	.modal-error .modal-title {
		font-size: 14px;
		line-height: 1;
	}

	.modal-thanks .modal-subtitle {
		max-width: 194px;

		text-align: center;

		font-size: 14px;
	}

	.modal-form.js-form-guard {
		width: 100%;
	}

	.modal .form-guard__banner.is-visible {
		padding: 10px;
	}

	/* modal thanks and error end */

        .fancybox__slide {
        opacity: 0;
        transform: scale(1);
        transition: 0.3s ease;
    }

    .fancybox__slide.is-selected {
        opacity: 1;
        transform: scale(1.2);
    }
}

@media screen and (max-width: 400px) {

        .fancybox__slide {
        opacity: 0;
        transform: scale(1);
        transition: 0.3s ease;
    }

    .fancybox__slide.is-selected {
        opacity: 1;
        transform: scale(1.1);
    }
}
