.all {
	transition: .7s ease;
}
.all.active {
	filter: blur(20px);
	--webkit-filter: blur(20px);
	pointer-events: none;
	user-select: none;
}
.popup-wrap {
    background: rgba(0, 0, 0, 0.4);
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1002;
}
.popup-wrap.active {
    display: block;
}
.popup-inner {
	position: fixed;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 440px;
	min-width: 320px;
	padding: 30px;
	box-shadow: 0 5px 30px rgba(0,0,0,.30);
	background: #fff;
	visibility: hidden;
	opacity: 0;
	transition: .5s ease;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-radius: 5px;
	z-index: 1003;
    max-height: 100vh;
    overflow-y: auto;
}
.popup-wrap.active .popup-inner.active {
	visibility: visible;
	top: 50%;
	opacity: 1;
	transition: .5s ease;
}

.cross-wrap {
	position: absolute;
	top: 15px;
	right: 15px;
	transition: .5s ease;
}
.cross-wrap img {
	width: 25px;
}

.cross-wrap:hover {
	transform: rotate(45deg);
    cursor: pointer;
}
.popup__form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.popup__form input, .popup__form textarea, .popup__form select {
	outline: none;
	border: 1px solid rgb(135, 99, 190);
	border-radius: 5px;
	padding: 10px;
    width: 100%;
}
.popup__form select{
    min-height: 47px;
}
.popup__form input[type="date"] {
    min-height: 2.5rem;
    min-width: 95%;
    -webkit-appearance: none;
}
.popup__form input::-webkit-datetime-edit {
    display: block;
    padding: 0;
}
.popup__form input[type="checkbox"] {
    appearance: none;
    margin: 0;
    padding: 0;
    height: 0;
    outline: none;
    border: none;
    width: 0;
}
.popup__form .checkbox-square {
    display: block;
    width: 17px;
    height: 17px;
    border: 1px solid #6b6b6b;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 5px;
}
.btn-popup:hover {
    cursor: pointer;
}
.label-policy {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 9px 0;
}
.popup__form input:checked ~ span::after {
    opacity: 1;
}
.popup__form .checkbox-square::after{
    content: '';
    position: absolute;
    left: 5px;
    bottom: 3px;
    width: 9px;
    height: 20px;
    border: 1px solid #0dbc91;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.popup__h3 {
	font-size: 18px;
	text-align: center;
    flex-shrink: 0;
}
.popup__h3 span {
    font-size: 15px;
    color: #666666;
    font-weight: 400;
}
.popup__form button {
	padding: 15px;
	font-size: 20px;
	border: 1px solid #0dbc91;
	background: #0dbc91;
    border-radius: 27px;
	color: #fff;
	transition: .5s ease;
    outline: none;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.popup__form button:hover{
	box-shadow: 10px 10px 20px -8px rgba(0,0,0,0.75);
}
.popup__form.form-hidden {
    display: none;
}
.response {
	text-align: center;
	line-height: 1.3;
    font-size: 20px;
	display: none;
    margin-bottom: 20px;
}
.response.success {
	display: block;
	color: #0dbc91;
}
.response.err {
	display: block;
	color: red;
}
.overlay {
    background: rgba(0, 0, 0, 0.4);
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1002;
}
.overlay.active {
    display: block;
}