.modal-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	visibility: hidden;
}
.modal-popup .overlay {
	background-color: rgb(51, 51, 51);
	opacity: 0.6;
}
.modal-popup .modal-popup-window {
	background: #fafafa;
	border-radius: 4px;
	z-index: 12;
	transform: translateY(50px);
	transition: transform 0.2s ease;
	width: 90%;
	max-width: 440px;
	opacity: 0;
}
.modal-popup .modal-popup-content {
	padding: 2rem 1.5rem;
	text-align: center;
}
.modal-popup .modal-popup-content p:last-of-type {
	padding: 0;
	margin: 0;
}
.modal-popup .modal-popup-footer {
	padding: 0.75rem 1rem;
	background: #fff;
	border-radius: 0 0 4px 4px;
	display: flex;
	border-top: 1px solid #efefef;
	justify-content: flex-end;
}
.modal-popup .modal-popup-icon {
	margin: 0 auto 1rem;
	background: #7ea7cc;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.modal-popup .modal-popup-icon svg {
	display: block;
	fill: #fff;
}
.modal-popup .modal-popup-close {
	text-indent: -9999px;
	width: 16px;
	height: 16px;
	position: absolute;
	display: block;
	right: 1rem;
	top: 1rem;
	opacity: 0.7;
	transition: all 0.3s ease;
	padding: 0;
	border: none;
	appearance: none;
	outline: none;
	cursor: pointer;
	background: transparent;
}
.modal-popup .modal-popup-close:before, .modal-popup .modal-popup-close:after {
	content: "";
	width: 2px;
	height: 16px;
	display: block;
	position: absolute;
	background: #333333;
	top: 0;
	left: 7px;
	border-radius: 3px;
}
.modal-popup .modal-popup-close:before {
	transform: rotate(-45deg);
}
.modal-popup .modal-popup-close:after {
	transform: rotate(45deg);
}
.modal-popup .modal-popup-close:hover {
	opacity: 0.9;
	transform: scale(1.05);
}
.modal-popup.active {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}
.modal-popup.active .modal-popup-window {
	transform: translateY(0);
	opacity: 1;
}