#confirmation-popup {
	justify-content: center;
	align-items: center;
}
.popup-content {
	border-radius: 12px;
	background: #F6FCFE;
	max-width:1000px;
	padding: 80px;
	width: 100%;
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#progress-bar-container {
	width: 100%;
	background-color: #DCE7EB;
	position: absolute;
	top: 0;
	border-radius: 12px 12px 0 0;
	left: 0;
	overflow: hidden;
}

#progress-bar {
	height:8.5px;
	background-color: #0A8FD4;
	width: 0%; /* Initial state with no progress */
	border-radius: 12px 0 0 0;
}

.quiz-step {
	display: none;
	flex-direction: column;
	gap:40px;
	margin-bottom: 40px;
}
.quiz-step.congratulation {
	display: none;
	max-width:504px;
	width: 100%;
}

.quiz-step.active, .quiz-step.congratulation.active {
	display: flex;
}
div#quiz-close {
	position: absolute;
	right: 36px;
	top: 32px;
	cursor: pointer;
}
.quiz-controls{
	display:flex;
	justify-content: space-between;
	gap: 5px;
}

.quizcontinue, .congratulation button {
	float: right;
	color: #FFF;
	font-family: Poppins;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	text-transform: uppercase;
	border: 0;
	display: flex;
	cursor:pointer;
	justify-content: center;
}
.quizcontinue[disabled]{
	background: rgba(54, 121, 150, 0.40);
}
.quizcontinue.active, .congratulation button {
	background-color:#367996;
	text-transform: uppercase;
}
.congratulation button.alt{
	background-color: #0A8FD4;
}
.quizbot-left {
	display: flex;
	align-items: center;
}
.quizcontinue span{
	margin-left:8px;
	min-width: 15px;
}
.stepback{
	color: #367996;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	text-transform: uppercase;
}
.yes-option, .no-option {
	padding: 10px 20px;
	margin: 10px;
}
.quizradiobg{
	border-radius: 8px;
	border: 1px solid rgba(127, 151, 183, 0.50);
	background: #FFF;
	width: 100%;
	padding: 9px 17px 9px 17px;
}
.quiz-step input {
	color: #003170;
	font-size: 20px;
	font-weight: 500;
	line-height: 180%;
	margin-right: 10px;
}
.sorrytext{
	display:none;
	color: #D3166B;
	font-size: 14px;
	font-weight: 500;
	line-height: 180%;
}
.sorrytext.active{display:block; border-left:3px solid #D3166B;padding-left:16px;}
.steptitle{
	color: #003170;
	font-size: 30px;
	font-weight: 600;
	line-height: normal;
}
.steptitle h2{margin-bottom:0;font-weight: 600;	line-height: 1.3em;}
.stepcontent{
	color: #575757;
	font-size: 16px;
	font-weight: 400;
	line-height: 180%;
	display:none;
}
.stepcontent.active{
	display:block;
}
.stepselection {
	max-width: 360px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 30px;
}
.quizradiobg label {
	color: #003170;
	font-size: 20px;
	font-weight: 500;
	line-height: 180%;
	width: 100%;
	display: block;
}
.steptitle.steploader {
	text-align: center;
}
.quizradiobg:has(input[type="radio"]:checked) {
	border: 1px solid #003170;
}
.cong-top{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;align-items:center;color: #003170;}
.cong-buttons{display:flex;gap:24px;text-align: center;justify-content: center;}
.rotate180{transform: rotate(180deg)}
.quiz-step.congratulation {
	margin-bottom: 0;
	gap:0;
}
.cong-top h3 {
	margin-bottom: 40px;
	font-size: 24px;
	font-weight: 400;
	line-height: 180%;
}
.cong-buttons button {
	max-width: 240px;
	padding: 16px;
	width: 100%;
	justify-content: center;
}
.cong-top h2 {
	color: #003170;
	font-size: 40px;
	font-weight: 600;
}
.cong-bottom-perks {
	border-radius: 0 0 12px 12px;
	border: 1px solid rgba(10, 143, 212, 0.50);
	background: rgba(10, 143, 212, 0.10);
	position: absolute;
	bottom: 0;
	min-height: 80px;
	padding: 25px 40px;
	width: 100%;
	left: 0;
	display: inline-flex;
	gap: 36px;
	justify-content: center;
	align-items: center;
}
.cong-perk{display:flex;gap:16px;font-size: 16px;align-items: center;flex:1;}
.cong-perk.alt{justify-content: flex-end;}
.cong-perk-text1, .cong-perk-text2{
	color: #003170;
	font-weight: 600;
	line-height: 180%;
}
.cong-perk-text1 span{
	color: #0A8FD4;
}
.cong-perk-text2{
	font-size: 14.5px;
	font-weight: 400;
	opacity: 0.7;
}
.cong-perk-text3, .cong-perk-text4{
	color: #0A8FD4;
	font-size: 16px;
	font-weight: 600;
	line-height: 180%; 
}
.cong-perk-text4{
	color: #003170;
}
.cong-icon{
	display: flex;
	align-items: center;
}
.cong-divider{
	height: 42px;
	display: flex;
	border-left: 1px solid rgba(0, 49, 112, 0.50);
}
.flex-imgs{
	display:flex;
	justify-content: space-between;
}
.flex-imgs img{
	max-width: 135px;
	border-radius: 6px;
}
div#quiz-container {
	width: 100%;
}
@media (max-width: 768px){
	.popup-content {
		padding: 20px;
		width: 100%;
		position: relative;
		min-height: initial;
		height: 100%;
		border-radius: 0;
	}
	.stepcontent {
		font-size: 14px;
	}
	.quiz-step {
		gap: 30px;
		margin-bottom: 20px;
	}
	#progress-bar-container{
		border-radius: 0;
	}
	div#quiz-close {
		right: 20px;
		top: 30px;
	}
	.stepselection {
		flex-direction: column;
		gap: 20px;
	}
	.quizradiobg label {
		font-size: 16px;
	}
	.quiz-controls {
		flex-direction: column;
		gap: 10px;
	}
	.stepback{position: absolute;top: 45px;}
	.cong-buttons {
		flex-direction: column;
		width: 100%;
		gap: 24px;
	}
	.cong-top h2 {
		font-size: 28px;
	}
	.cong-top h3 {
		font-size: 18px;
		text-align: center;
	}
	.cong-buttons button {
		max-width: initial;
	}
	.cong-bottom-perks {
		border-radius: 0;
		border: 1px solid rgba(10, 143, 212, 0.50);
		min-height: initial;
		padding: 13px 20px;
		gap:18px;
	}
	.cong-perk {
		gap: 10px;
		font-size: 12px;
		flex-direction: column;
		align-items: flex-start;
		flex: 2;
	}
	.cogn-icon{
		max-width: 31px;
	}
	.cong-perk-text2, .cong-perk-text3, .cong-perk-text4{
		font-size: 11px;
	}
	.cong-perk.alt {
		flex: 3;
	}
	.cong-divider {
		display: none;
	}
	.flex-imgs{
		display:flex;
		gap: 5px;
	}
	.flex-imgs img{
		max-width: initial;
		width: 32%;
	}
	.steptitle h2 {
		font-size: 20px;
	}
	.sorrytext {
		font-size: 12px;
	}
}

@media screen and (max-width: 450px) and (max-height: 900px){
	.stepcontent {
		line-height: 180%;
		max-height: 280px;
		overflow: scroll;
	}
}