/* Fast Request Modal */
.fast-request-modal .modal-dialog {
	max-width: 640px;
}

.fast-request-modal__content {
	border: none;
	border-radius: 40px;
	background: #ffffff;
	padding: 40px 48px 40px;
}

.fast-request-modal__content.fast-request-modal__content--success {
	background: var(--color-gray);
}

.fast-request-modal__header {
	border: none;
	padding: 0 0 24px;
	justify-content: center;
	position: relative;
}

.fast-request-modal__title {
	margin: 0;
	width: 100%;
	font-family: var(--font-main);
	font-weight: 500;
	font-size: 32px;
	line-height: 130%;
	text-align: center;
	color: var(--color-text-black);
}

.fast-request-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
}

.fast-request-modal__body {
	padding: 0;
}

.fast-request-modal__subtitle {
	margin: 0 0 32px;
	font-family: var(--font-main);
	font-size: 18px;
	line-height: 130%;
	text-align: center;
	color: var(--color-text-grey);
}

.fast-request-modal__field {
	position: relative;
}

.fast-request-modal__field + .fast-request-modal__field {
	margin-top: 20px;
}

.fast-request-modal__label {
	position: absolute;
	left: 20px;
	top: 18px;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 130%;
	color: var(--color-text-grey);
	pointer-events: none;
	transition: all 0.15s ease;
	opacity: 0;
	visibility: hidden;
}

.fast-request-modal__input {
	width: 100%;
	border-radius: 15px;
	border: 1px solid #BAC7CF;
	padding: 20px 20px 12px;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 160%;
	color: var(--color-text-black);
	background: #FFFFFF;
}

.fast-request-modal__input::placeholder {
	color: var(--color-text-grey);
}

.fast-request-modal__input:focus {
	outline: none;
	border-color: #ffdd66;
	box-shadow: 0 0 0 1px #ffdd6633;
}

.fast-request-modal__input.fast-request-modal__input--invalid {
	border-color: #b71c1c;
	box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.25);
}

.fast-request-modal__field-error {
	margin: 6px 0;
	font-family: var(--font-main);
	font-size: 12px;
	line-height: 140%;
	color: #b71c1c;
}

.fast-request-modal__field--filled .fast-request-modal__label {
	top: -10px;
	background-color: #ffffff;
	padding: 0 5px;
	opacity: 1;
	visibility: visible;
	font-family: var(--font-main);
	font-weight: 400;
	font-size: 12px;
	line-height: 160%;
	color: var(--color-text-grey);
}

.fast-request-modal__agreements {
	margin-top: 32px;
}

.fast-request-modal__agreements-title {
	margin: 0 0 0 30px;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 140%;
	color: var(--color-text-grey);
}

.fast-request-modal__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 5px;
	cursor: pointer;
}

.fast-request-modal__checkbox input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fast-request-modal__checkbox-mark {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	border: 1px solid #c4ced8;
	background: #fff;
}

.fast-request-modal__checkbox.fast-request-modal__checkbox--invalid .fast-request-modal__checkbox-mark {
	border-color: #b71c1c;
}

.fast-request-modal__checkbox.fast-request-modal__checkbox--invalid .fast-request-modal__checkbox-label {
	color: #b71c1c;
}

.fast-request-modal__checkbox-label {
	font-family: var(--font-main);
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: var(--color-text-grey);
}


.fast-request-modal__checkbox input:checked + .fast-request-modal__checkbox-mark {
	background: #ffffff;
	border-color: #ffd500;
}

.fast-request-modal__checkbox input:checked + .fast-request-modal__checkbox-mark::after {
	content: "";
	display: block;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--color-text-black);
	border-bottom: 2px solid var(--color-text-black);
	transform: rotate(-45deg);
	margin: 3px 0 0 4px;
}

.fast-request-modal__actions {
	margin-top: 32px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.fast-request-modal__btn {
	flex: 1 1 0;
	height: 52px;
	border-radius: 30px;
	border: none;
	font-family: var(--font-main);
	font-weight: 500;
	font-size: 16px;
	line-height: 120%;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fast-request-modal__btn--secondary {
	background: #DDEBF3;
	color: var(--color-text-black);
}

.fast-request-modal__btn--primary {
	background: var(--color-red);
	color: var(--color-text-white);
}

.fast-request-modal__btn:disabled {
	opacity: 0.55;
	cursor: default;
	box-shadow: none;
	transform: none;
}

.fast-request-modal__btn:not(:disabled):hover,
.fast-request-modal__btn:not(:disabled):focus {
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fast-request-modal__content.fast-request-modal__content--success .fast-request-modal__success {
	padding: 0;
}

.fast-request-modal__success-title {
	margin: 0 0 12px;
	font-family: var(--font-main);
	font-weight: 500;
	font-size: 24px;
	line-height: 120%;
	color: var(--color-text-black);
}

.fast-request-modal__content.fast-request-modal__content--success .fast-request-modal__success-title {
	margin: 0 0 16px;
	font-weight: 500;
	font-size: 28px;
	line-height: 120%;
}

.fast-request-modal__success-text {
	margin: 0;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 150%;
	color: var(--color-text-grey);
}

.fast-request-modal__content.fast-request-modal__content--success .fast-request-modal__success-text {
	font-size: 16px;
	line-height: 150%;
	color: var(--color-text-black);
}

.fast-request-modal__error {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #ffe6e6;
	color: #b71c1c;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 140%;
}

@media (max-width: 576px) {
	.fast-request-modal__content {
		padding: 32px;
		border-radius: 60px;
	}

	.fast-request-modal__title {
		font-size: 26px;
	}

	.fast-request-modal__subtitle {
		font-size: 16px;
	}

	.fast-request-modal__actions {
		flex-direction: row;
	}

	.fast-request-modal__close {
		top: -10px;
		right: 0;
	}
}
/* Fast Request Modal */
