/* user-data-popup */

.user-data-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	z-index: 1000;
	border-radius: 15px;
}

.user-data-popup.active {
	display: block
}

.popup-wrapper {
	display: flex;
	padding: 20px;
	flex-direction: column;
	align-items: center;
	column-gap: 20px;
	justify-content: space-between;
	border-radius: 15px;
	background-image: url('/img/structure-images/cell.webp');
	background-repeat: repeat;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(3px);
	background: rgba(9, 15, 30, 0.8);
	z-index: 999
}

.overlay.active {
	display: block
}

.popup-west-side {
	max-width: 50%
}

.popup-east-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	position: relative
}

.close-button {
	position: absolute;
	top: 7px;
	right: 0;
	min-width: 15px;
	min-height: 15px
}

.popup-west-side img {
	width: 100%;
	height: auto;
}

.popup-east-side-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 5px;
	color: #fff
}

.popup-east-side-text p {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 48px;
	margin-bottom: .25rem;
	margin-top: .25rem;
	color: #fff
}

.popup-east-side form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	width: 80%
}

.popup-east-side form input {
	height: 42px
}

.popup-east-side form textarea {
	height: 100px
}

.popup-east-side form input,
.popup-east-side form textarea {
	font-size: 1rem;
	line-height: 10px;
	font-weight: 400;
	padding: 10px;
	border: 0;
	border-radius: .25rem;
	background-color: #fff;
	outline: none;
	resize: none;
	color: #000;
	width: 100%
}

.popup-east-side form input:focus,
.popup-east-side form textarea:focus {
	outline: none
}

.popup-east-side form input::placeholder,
.popup-east-side form textarea::placeholder {
	color: #8c8c8c
}

.popup-east-side #contact-form .gradient-button {
	background: linear-gradient(#ff5121, #DF9937);
	border-radius: 15px;
	transition: opacity .5s linear;
	color: #fff;
}

.popup-east-side form .gradient-button::after {
	content: none;
}

/* @media(max-device-width: 1260px) {
	.popup-west-side {
		display: none
	}
} */


@media(max-device-width: 1100px) {
	.popup-east-side form {
		width: 100%
	}
}

@media(max-device-width: 900px) {
	.user-data-popup {
		width: 70%
	}
}

@media(max-device-width: 766px) {
	.popup {
		width: 96%
	}

	.popup-east-side {
		width: 100%
	}
}

@media(max-device-width: 650px) {
	.user-data-popup {
		width: 90%
	}

	.popup-west-side {
		display: none;
	}
}

.popup-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	width: 40%;
	max-width: 500px;
	background-color: rgba(0, 0, 0, .5);
	overflow: auto;
	padding: 10px;
	color: #fff
}

.modal-content {
	background-color: #fefefe;
	padding: 20px;
	text-align: center;
	font-size: 22px;
	color: #000;
	border: 1px solid #888;
	position: relative
}

.close-button {
	color: #fff;
	float: right;
	font-size: 28px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	background-color: transparent;
}

.popup-modal .close-button {
	top: -7px;
	min-width: 24px;
	color: #000;
	transition: .3s linear
}

.popup-modal .close-button:hover {
	color: #202020
}

.close-button:hover,
.close-button:focus {
	color: #ccc;
	text-decoration: none;
	background-color: transparent
}

@keyframes fadeInOut {
	0% {
		opacity: 0
	}

	10% {
		opacity: 1
	}

	90% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

.loading {
	display: none;
	text-align: center;
	font-size: 16px;
	color: #333
}

.popup-checkbox {
	display: flex;
	align-items: start;
	gap: 10px;
}

.popup-checkbox label {
	font-size: 9px;
	color: #adadad;
	text-align: justify;
	line-height: 1.2;
}

#mailCheck {
	margin: -4px 0 0 0;
	width: 30px;
	height: 30px;
	accent-color: #0049ff;
}

@media(max-device-width: 768px) {
	.popup-modal {
		width: 90%
	}
}