.msq-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.msq-popup {
    background: #fff; padding: 100px; max-width: 800px; width: 90%;
    border-radius: 8px; position: relative;
}
.msq-question-section {
    width: 80%;
    margin: auto;
}
.msq-close-btn {
    position: absolute; top: 25px; right: 25px;text-decoration: underline;
    background: transparent; border: none; font-size: 20px; color: #284861;
	text-transform: uppercase;
}
.msq-ans {
    display: inline-block; margin: 10px; padding: 10px 20px;
    font-size: 16px; cursor: pointer;
    background: transparent linear-gradient(226deg, #00677A 0%, #234B65 100%) 0% 0% no-repeat padding-box;
    border-radius: 29px;
    color: #fff; 
    border: none;
	text-transform: capitalize;
}
p.msq-title-t-or-f {
    color: #1991b5;
    font-weight: 600;
}


/*  print pdf css   */

/* Hide the print result container on screen */
.msq-print-only {
  display: none;
}

/* Print style: only show .msq-print-only */
@media print {
  body * {
    visibility: hidden !important;
  }

  .msq-print-only,
  .msq-print-only * {
    visibility: visible !important;
  }

  .msq-print-only {
    display: block !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    z-index: 9999;
  }

  .msq-print-only h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }

  .msq-review-item {
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .msq-review-item span,
  .msq-review-item small {
    display: block;
    margin-top: 5px;
  }

  .msq-review-item small {
    font-style: italic;
    color: #555;
  }

  @page {
    size: A4;
    margin: 20mm;
  }
}


.msq-progress-container {
  margin-bottom: 20px;
}

.msq-progress-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.msq-progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
}

.msq-progress-fill {
  height: 100%;
  background-color: #F29909; /* Orange */
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
}

.msq-question-text {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 20px;
}
.ans-text {
    color: #1991B5;
}
p.ans-result {
    color: #F29909;
}
.msq-next {
    background: #F29909;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex
;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}
button.msq-next:hover {
    background-color: #e88b00;
}
button.msq-next:hover .arrow {
    transform: translateX(4px);
}
button.msq-next .arrow {
    font-size: 18px;
    transition: transform 0.2s;
}


/* result slide css    */



.msq-final-screen {
  text-align: left;
  padding: 30px 20px;
}

.msq-final-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f2d3d;
}

.msq-score-line {
    font-size: 20px;
    margin-bottom: 12px;
    color: rgb(25, 145, 181);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.msq-score-line strong {
  font-weight: bold;
	  color: #f29909;
}

.msq-final-subtext {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.msq-print-btn,  .msq-print-link{
  padding: 10px 20px;
/*   background: transparent linear-gradient(226deg, #00677A 0%, #234B65 100%) 0% 0% no-repeat padding-box; */
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 49px;
  font-size: 16px;
  cursor: pointer;
	background: #F29909;
	display: flex;
    align-items: center;
    justify-content: center;
	max-width: 250px;
    text-align: center;
}
button.msq-print-btn {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2d3d;
    background: unset;
    line-height: 1.25em;
    padding: 0 0 16px 0;
    margin-bottom: 10px;
}
button.msq-print-btn:hover{
	text-decoration: underline;
}
.msq-print-btn .arrow{
	font-size: 20px;
}
.msq-middle-text{
	font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2d3d;
}
a.answer-link{
text-decoration: underline;
}
@media (max-width: 600px){
    .msq-popup{
        padding: 18px;
    }
    .msq-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    }
    .msq-popup {
    max-height: 90vh;        
    overflow-y: scroll;
}
	.msq-question-section{
		margin-top: 15px;
	}
    .msq-popup::-webkit-scrollbar {
    width: 8px;
}
	.msq-question-section{
		width: 100%;
	}
	.msq-final-screen {
    margin-top: 2em;
    padding: 0px;
}

.msq-popup::-webkit-scrollbar-track {
    /* background: #eee; */
}

.msq-popup::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.msq-popup::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

}