html, body {
  overflow-x: hidden;
}

.font-size-22 {
  font-size: 22px;
}

.font-size-30 {
  font-size: 30px;
}

.form-check-label {
  color: #212529 !important;
}

.quiz-banner {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: -webkit-fill-available;
    margin-bottom: 15px;
}

.next-btn {
  background: #36cce1;
  border-color: #0AB7CF;
}

.next-btn:hover {
  background: #0AB7CF;
  border-color: #0AB7CF;
  color: white;
}

body {
  background-color: #EEF6FF;
  padding-top: 20px;
  font-family: Lora, __inter_0b7090, __inter_Fallback_0b7090, "Helvetica Neue",
    Helvetica, Arial, sans-serif;
}

.top-container {
  width: 100%;
  padding: 0 15px;
}

.questionnaire-container{
    height: auto;
    padding-bottom: 50px;
}

input:focus::placeholder {
  color: transparent; /* Makes the placeholder text invisible */
  opacity: 0;         /* Ensures compatibility across all browsers */
}

/* Optional: Keep standard placeholder styling when not focused */
input::placeholder {
  transition: opacity 0.3s ease; /* Smooth transition for the effect */
}

/* Add to your CSS */
@media (min-width: 768px) {
  .top-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #EEF6FF;
    padding-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .container {
    padding-top: 160px;
  }
}

.step-wizard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 15px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
  min-width: 60px;
}

.step .circle {
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #000;
  margin: 0 auto 6px;
  font-weight: bold;
}

.step.completed .circle {
  background-color: #36cce1;
  color: #fff;
}

.step .label {
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .step .label {
    display: none;
  }
}

.step::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #dee2e6;
  z-index: -1;
}

.step:last-child::after {
  display: none;
}

.question-section {
  display: none;
  max-width: 700px;
  margin: 0 auto;
}

.question-section.active {
  display: block;
}

.highlighted-text {
  color: #36cce1;
}

.checkbox-exp {
  display: none;
}

.svg-option.selected {
  border-color: #28a745 !important;
  background: #e0f9e5 !important;
}

.svg-option.selected::after {
  /*content: "✔";*/
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #28a745;
  font-weight: bold;
}

.svg-option {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px;
  padding: 20px;
  text-align: center;
  width: 200px;
  background: #fff;
}

.svg-option.active,
.svg-option:hover {
  border-color: #007bff;
  background: #e9f5ff;
}

.motivation-option {
  padding: 15px;
  margin: 5px;
  width: 60%;
  text-align: left;
}

.radio-option {
  padding: 15px;
  margin: 5px;
  width: 60%;
  text-align: left;
}

.details-q1-option {
  padding: 15px;
  margin: 5px;
  width: 65%;
  text-align: left;
}

.multi-select .svg-option {
  width: 210px;
}

.form-navigation {
  width: 100%;
  margin-top: 20px;
}

.form-navigation button {
  width: 100%;
  padding: 12px;
}

.top-logo {
  text-align: center;
  margin-bottom: 20px;
}

.top-logo img {
  height: 20px;
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.wizard-header .back-btn {
  font-size: 20px;
  margin-right: 10px;
  color: #000;
  cursor: pointer;
}

hr {
  margin-top: 10px;
  margin-bottom: 30px;
}

.sleep-options .sleep-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 70px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
  position: relative;
}

.sleep-options .sleep-box:hover {
  border-color: #007bff;
  background: #f0f8ff;
}

.sleep-options .sleep-box input[type="radio"] {
  display: none;
}

.sleep-options .sleep-box input[type="radio"]:checked + span {
  color: #28a745;
  font-weight: bold;
}

.sleep-box.selected {
  border-color: #28a745;
  background: #e0f9e5;
}

.sleep-options .sleep-box input[type="radio"]:checked ~ span::before {
  content: "✔";
  color: #28a745;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.h-radio-options .h-radio-box {
  display: flex;
  align-items: center;
  width: 280px;
  height: 45px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 10px;
}

.h-radio-options .h-radio-box:hover {
  /*border-color: #007bff;*/
  background: #f0f8ff;
}

.h-radio-options .h-radio-box input[type="radio"] {
  /*display: none; */
  margin-right: 10px;
  width: 1.5em;
  height: 1.5em;
  border-color: #6c757d;
  accent-color: #c6a673;
}

/* fallback if accent-color doesn't work */
.h-radio-options .h-radio-box input[type="radio"]:checked {
  background-color: #c6a673;
  border-color: #c6a673;
}

.h-radio-options .h-radio-box input[type="radio"]:checked + span {
  /*color: #28a745;*/
  font-weight: bold;
}

.h-radio-box.selected {
  border-color: #c6a673;
  background: #fff;
}

.h-radio-options .h-radio-box input[type="radio"]:checked ~ span::before {
  /*content: "✔";
  color: #28a745;*/
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Base checkbox style */
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Checked state with custom color and white tick */
input[type="checkbox"]:checked {
  background-color: rgb(198, 166, 115);
  border-color: rgba(56, 49, 44, 0.2);
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff;
  position: absolute;
  font-size: 16px;
  left: 2px;
  top: -3px;
}
#eligibility-q3 input[type="checkbox"]:checked::after {
  left: 20px;
  top: -3px;
}

#details-q8 img{
  max-width: 450px;
}

/* Unchecked state border color */
input[type="checkbox"]:not(:checked) {
  border-color: #b4b4b4;
  /* muted border */
}

/* Hide default checkbox */
.custom-checkbox-wrapper input[type="checkbox"] {
  display: none;
}

/* Custom checkbox design */
.custom-checkbox-wrapper .checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #b4b4b4;
  flex-shrink: 0;
  position: relative;
  font-size: 14px;
  transition: all 0.2s;
  margin-top: 2px;
}

/* Checked state */
.custom-checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
  background-color: rgb(198, 166, 115);
  border-color: rgba(56, 49, 44, 0.2);
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + .checkmark::before {
  content: "✓";
  color: white;
  font-size: 14px;
  line-height: 1;
}

.svg-option {
  max-width: 100%;
  box-sizing: border-box;
}

.mmrx-claim{
    width: 75%;
}

/* Align text next to checkbox */

@media (max-width: 767.98px) {
  .step .label {
    font-size: 12px;
  }

  .svg-option {
    width: 100% !important;
  }
  
  svg {
    /*width: 250px !important;*/
    height: auto !important;
  }

  .multi-select {
    flex-direction: column;
  }

  .step-wizard {
    width: 85%;
  }

  .wizard-header .back-btn {
    margin-bottom: 20px;
  }

  .sleep-options .sleep-box {
    width: 100%;
  }
  
  #details-q8 img{
    max-width: 330px !important;
  }
  
  #health-q5 img{
    max-width: 330px !important;
  }
  
  #pre-q4 img{
      width: 100% !important;
  }
  
  #pre-q3 img{
      width: 75% !important;
  }
  
  .mmrx-claim{
        width: 100%;
   }
}
