#confirmation-popup {
	justify-content: center;
	align-items: center;
}
.popup-content {
	border-radius: 12px;
	background: #F6FCFE;
	max-width:1000px;
	padding: 60px 80px 50px;
	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;
}
.fz14 p{
	font-size: 14px;
}
.quizcontinue{
	height: fit-content;
	max-height: 56px;
}
#progress-bar {
	height:8.5px;
	background-color: #0A8FD4;
	width: 0%; /* Initial state with no progress */
}

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

.congratulation-crossale-minoxidil, .congratulation-crossale-finasteride{
	margin-top: 9px;
	display: none;
}
.congratulation-crossale-minoxidil.active, .congratulation-crossale-finasteride.active{
	display: block;
}
.congratulation-default{
	
}

.quiz-step.active, .quiz-step.congratulation.active {
	display: flex;
}
div#quiz-close {
	position: absolute;
	right: 36px;
	top: 32px;
	cursor: pointer;
	z-index: 99;
}
.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 {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 30px;
	row-gap: 5px;
	max-width: 352px;
	flex-wrap: wrap;
}
.stepselection .quizradiobg{
	width: calc(50% - 15px);
}
.content-other.stepselection .quizradiobg{
	max-width: 165px;	
	order: 1;
}
.content-other.stepselection{
	width: 100%;
	max-width: unset !important;
}
.quizradiobg-other{
	border-radius: 8px;
	border: 1px solid rgba(127, 151, 183, 0.50);
	background: #FFF;
	width: 100%;
	padding: 9px 17px 9px 17px;
	font-size: 16px !important;
	margin-top: 15px;
	order: 15;
}
.quizradiobg-other::placeholder, .quizradiobg-other::-webkit-input-placeholder{
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-size: 16px !important;
	line-height: 180%;
	color: #575757 !important;
}
.quizradiobg label {
	color: #003170;
	font-size: 20px;
	font-weight: 500;
	line-height: 180%;
	width: 100%;
	order: 0;
	max-width: 841px;
	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%;
}
.content-max-height{
	max-height: 120px;
	overflow: auto;	
}
.altQuestions{
	display: grid;
	gap: 30px;
	row-gap: 15px;
	grid-template-columns: 1fr 1fr;
	width:100%;
}
.altQuestions .quizradiobg {
	width: 100%;
}
.altQuestions .quizradiobg:last-of-type {
	grid-column: 1 / -1;
}
@media (max-width: 768px){
	.popup-content {
		padding: 20px;
		width: 100%;
		position: relative;
		min-height: initial;
		height: 100%;
		border-radius: 0;
	}
	.content-other .quizradiobg{
		max-width: calc(50% - 15px) !important;
		order: 1;
	}
	.stepselection .quizradiobg{
		width: 100%;
	}
	.stepselection{
		max-width: unset !important
	}
	.content-other .quizradiobg-other{
		width: 100%;
		order: 10;
		font-size: 14px !important;
		margin-bottom: 10px;
		margin-top: 0;
	}
	.quizradiobg-other::placeholder, .quizradiobg-other::-webkit-input-placeholder{
		font-size: 14px;
	}
	.content-other.stepselection{
		flex-direction: row;
		flex-wrap: wrap;
	}
	.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;
	}
	.altQuestions {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 450px) and (max-height: 900px){
	.stepcontent {
		line-height: 180%;
		max-height: 280px;
		overflow: scroll;
	}
}
@media(min-width: 992px){
	#quiz-question-title{
	  font-size: 30px;
	}
}
