.pop_kviz_wrapper .quiz-container {
	max-width: 500px;
	margin: auto;
	background: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

/* Прогресс-бар */
.pop_kviz_wrapper .progress-bar {
	width: 100%;
	height: 8px;
	background: #eee;
	border-radius: 4px;
	margin-bottom: 20px;
	overflow: hidden;
}

.pop_kviz_wrapper .progress-fill {
	height: 100%;
	width: 0;
	background: #572f98;
	transition: width 0.3s ease;
}

.pop_kviz_wrapper .quiz-step {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

.pop_kviz_wrapper .quiz-step input {
	border-radius: 50px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
	border: 0;
	font-size: 16px;
	line-height: 1;
	padding: 8px 15px;
	margin: 10px 0;
	background-color: #fff;
}

.pop_kviz_wrapper .quiz-step.active {
	display: block;
	opacity: 1;
	position: relative;
}

.pop_kviz_wrapper .btn-row {
	margin-top: 20px;
	display: flex;
	gap: 10px;
}

.pop_kviz_wrapper button {
	padding: 10px 20px;
	background: #572f98;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
}

.pop_kviz_wrapper button.prev-btn {
	background-color: #7a7781;
}

.pop_kviz_wrapper button.prev-btn:hover {
	background-color: #444249;
}

.pop_kviz_wrapper button.call_btn_send,
.pop_kviz_wrapper button.call_btn {
	border-radius: 60px;
	color: #fff;
}

.pop_kviz_wrapper button.call_btn a {

	color: #fff;
}

.pop_kviz_wrapper button:hover {
	background: #2a0d5e;
}



.pop_kviz_wrapper .quiz-step__form_ctn {
	margin-top: 10px;
	position: relative;
}

.pop_kviz_wrapper .quiz-step__form_ctn__btn {
	display: block;
	margin: 10px auto;
}

.pop_kviz_wrapper .quiz-step__form_ctn__success {
	bottom: 0;
	text-transform: uppercase;
	font-weight: 700;
	left: 0;
	right: 0;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 12;
	background-color: #fff;
	width: fit-content;
	border-radius: 15px;
	margin: auto;
	padding: 25px 35px;
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
	font-size: 18px;
	color: #000;
	text-align: center;

	transition: all 0.4s ease;
}


.dark_bg {
	display: none;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	position: fixed;
	z-index: 11;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.dark_bg.show {
	display: block;
	opacity: 1;
}

.popup {
	position: fixed;
	top: 20vh;
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: 800px;
	width: calc(100% - 20px);
	height: auto;
	/* background: rgba(0,0,0,0.5); */
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1000;
}

.popup.show {
	display: flex;
	opacity: 1;
}

.popup-content {
	background-color: rgba(255, 255, 255, 0.05);
	padding: 40px 30px;
	border-radius: 8px;
	position: relative;
	min-width: 300px;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 20px;
	cursor: pointer;
	background-image: url('./../cross.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 20px;
	height: 20px;
}

@media (max-width:600px) {

	.close-btn {
		position: absolute;
		top: 7px;
		right: 7px;

	}

	.popup-content {
		padding: 7px 35px 7px 7px;
	}
}