.fade {
	transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
	.fade {
		transition: none;
	}
}
.fade:not(.show) {
	opacity: 0;
}

.modal {
	--bs-modal-zindex: 1055;
	--bs-modal-width: 580px;
	--bs-modal-margin: 0.5rem;
	--bs-modal-color: var(--secondary-s3);
	--bs-modal-bg: #fff;
	--bs-modal-border-radius: 24px;
	--bs-modal-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-modal-zindex);
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: var(--bs-modal-margin);
	pointer-events: none;
}

.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
		transition: none;
	}
}
.modal.show .modal-dialog {
	transform: none;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	color: var(--bs-modal-color);
	pointer-events: auto;
	background-color: var(--bs-modal-bg);
	background-clip: padding-box;
	border-radius: var(--bs-modal-border-radius);
	padding: 16px;
	outline: 0;
}

.modal-content-header {
	display: grid;
	align-items: center;
	grid-template-columns: 24px 1fr;
	grid-gap: 8px;
	margin-bottom: 24px;
}

.modal-content-title {
	font-family: "OnestSB";
}

.btn-close {
	box-sizing: content-box;
	color: var(--main-color);
	border: 0;
}

.btn-close svg {
	width: 24px;
	height: 24px;
}

.btn-close:hover {
	color: var(--secondary-s3);
	text-decoration: none;
}

.btn-close:focus {
	outline: 0;
}

.btn-close:disabled, .btn-close.disabled {
	color: var(--secondary-s2);
	pointer-events: none;
	user-select: none;
}

.modal-content-form p {
	font-size: 14px;
	font-family: "OnestL";
}

.modal-content-form .modal-content-btn {
	display: flex;
	margin: 0 auto;
	width: 100%;
	max-width: 230px;
	height: 36px;
}

.modal-backdrop {
	--bs-backdrop-zindex: 1050;
	--bs-backdrop-bg: #000;
	--bs-backdrop-opacity: 0.5;
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-backdrop-zindex);
	width: 100vw;
	height: 100vh;
	background-color: var(--bs-backdrop-bg);
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop.show {
	opacity: var(--bs-backdrop-opacity);
}

@media (max-width: 575.98px) {
	.modal {
		--bs-modal-margin: 0;
		--bs-modal-border-radius: 0;
	}
	.modal-dialog-centered {
		align-items: flex-end;
		min-height: 100%;
	}
	.modal-content-form {
		margin-top: 8px;
	}
	.svg-close-cross {
		display: none;
	}
}
@media (min-width: 576px) {
	.modal {
		--bs-modal-margin: 1.75rem;
		--bs-modal-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
	}
	.modal-dialog {
		max-width: var(--bs-modal-width);
		margin-right: auto;
		margin-left: auto;
	}
	.modal-sm {
		--bs-modal-width: 300px;
	}
	.modal-content-header {
		grid-template-columns: 1fr 24px;
		margin-bottom: 16px;
	}
	.btn-close {
		order: 1;
	}
	.svg-close-arrow {
		display: none;
	}
}
@media (min-width: 992px) {
	.modal-lg,
	.modal-xl {
		--bs-modal-width: 800px;
	}
}
@media (min-width: 1200px) {
	.modal-xl {
		--bs-modal-width: 1140px;
	}
}