/* Weightloss Quiz Specific Styles */

/* Motivation 1 (motivation_intro) styles */
.motivation_1 .dnkqz-content-h2 {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 10px;
}

.motivation_1 .dnkqz-card-gray {
  background-color: #ffff;
  box-shadow: 2px 2px 4.7px -1px #00000030;
  padding-bottom: 10px;
  border-radius: 15px;
  max-width: 85%;
  margin: 0 auto 10px;
}

.motivation_1 .dnkqz-text-testimonial {
  padding: 0 10px;
  margin-top: 8px;
}

.motivation_1 .dnkqz-content-h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 20px;
}

.motivation_1 .dnkqz-text-description {
  font-size: 11px;
  margin-bottom: 20px;
  line-height: 15px;
}

.motivation_1 .dnkqz-list-item {
  margin-bottom: 5px;
  line-height: 20px;
}

.motivation_1 .dnkqz-content-h3-small {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.motivation_1 .dnkqz-card-green {
  padding: 10px 20px 20px;
}

/* Motivation 2 (goals_motivation) styles */
.motivation_2 .dnkqz-content-h2-large {
  font-size: 18px;
  margin-bottom: 5px;
}

.motivation_2 .dnkqz-content-h3-medium {
  font-size: 18px;
  font-weight: 500;
}

.motivation_2 .dnkqz-svg-container {
  padding: 5px;
}

.motivation_2 .dnkqz-text-paragraph {
  padding: 15px;
  text-align: left;
  line-height: 25px;
}

/* Graph info styles for weightloss graph */
.graph_info_weightloss,
.graph_info_typical {
  font-size: 12px;
  text-align: left;
  margin-bottom: 5px;
}

.graph_info_typical {
  margin-bottom: 0;
}

.graph_info_weightloss {
  color: #4CAF50;
  font-weight: bold;
}

.graph_info_typical {
  color: #f44336;
  font-weight: bold;
}

/* Motivation container styles */
.dnkqz-content-container.motivation_1,
.dnkqz-content-container.motivation_2, 
.bmi_result_wrapper.dnkqz-content-container
 {
  padding: 0;
}

/* Card green style (used in weightloss quiz) */
.dnkqz-card-green {
  background-color: #E6F4EF;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.options_wrapper.question-bmi_calculation_female .dnkqz-group-label {
  text-align: left;
  margin-bottom: 10px;
}

.options_wrapper.question-bmi_calculation_female .dnkqz-answer-input {
  text-align: left;
}
.bmi_result_wrapper {
  margin-top: 10px;
}
/* BMI motivation_ai card styling */
/* BMI-specific styles using bmi_result_wrapper class */
.bmi_result_wrapper .dnkqz-card-gray {
  background-color: #EEEEEE !important;
  box-shadow: 2px 2px 4.7px -1px rgba(0, 0, 0, 0.19);
  border-radius: 15px;
  padding: 8px 15px;
  overflow: visible !important;
  margin: 0 auto 20px;
  max-width: 100%;
}

/* BMI title inside card */
.bmi_result_wrapper .dnkqz-bmi-title {
  font-size: 18px !important;
  margin-bottom: 30px;
  margin-top: 0;
  text-align: left;
}

/* Allow BMI bar marker to be visible - marker extends outside the card */
.bmi_result_wrapper .dnkqz-bmi-bar-container {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}
.bmi_result_wrapper .dnkqz-content-h3-medium {
font-size: 18px;
font-weight: 500;
text-align: left;
}
.bmi_result_wrapper .dnkqz-text-description {
  font-weight: 400;
  color: #000000;;
  
}

/* BMI Table Styles - Weightloss Quiz Specific */
.bmi_result_wrapper .dnkqz-bmi-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    background-color: white !important;
    border-radius: 8px;
    overflow: hidden;
}

.bmi_result_wrapper .dnkqz-bmi-table tbody > tr > td,
.bmi_result_wrapper .dnkqz-bmi-table tbody > tr > th,
.bmi_result_wrapper .dnkqz-bmi-table tr > td,
.bmi_result_wrapper .dnkqz-bmi-table tr > th {
    background-color: white !important;
}

.bmi_result_wrapper .dnkqz-bmi-table tbody > tr:nth-child(odd) > td,
.bmi_result_wrapper .dnkqz-bmi-table tbody > tr:nth-child(odd) > th,
.bmi_result_wrapper .dnkqz-bmi-table tr:nth-child(odd) > td,
.bmi_result_wrapper .dnkqz-bmi-table tr:nth-child(odd) > th {
    background-color: white !important;
}

.bmi_result_wrapper .dnkqz-bmi-table th {
    text-align: left;
    padding: 8px 0 8px 18px;
    border: 1px solid #ddd;
    background-color: white;
}

.bmi_result_wrapper .dnkqz-bmi-table th:first-child {
    border-radius: 20px 0 0 20px;
}

.bmi_result_wrapper .dnkqz-bmi-table th:last-child {
    border-left: none;
    border-radius: 0 20px 20px 0;
}

.bmi_result_wrapper .dnkqz-bmi-table td {
    padding: 8px;
    border: none;
    border-right: 1px solid #ddd;
    background-color: white;
}

.bmi_result_wrapper .dnkqz-bmi-table td:last-child {
    border-right: none;
}

.bmi_result_wrapper .dnkqz-bmi-table tbody tr:last-child td:first-child,
.bmi_result_wrapper .dnkqz-bmi-table tr:last-child td:first-child {
    border-radius: 0 0 0 8px !important;
}

.bmi_result_wrapper .dnkqz-bmi-table tbody tr:last-child td:last-child,
.bmi_result_wrapper .dnkqz-bmi-table tr:last-child td:last-child {
    border-radius: 0 0 8px 0 !important;
}

.bmi_result_wrapper .dnkqz-bmi-table tr.bmi-active-row td {
    font-weight: bold;
}
.dnkqz-content-container .dnkqz-card-gray .dnkqz-content-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  border-radius: 15px 15px 0 0;
}

.dnkqz-content-container .dnkqz-card-gray .dnkqz-text-paragraph {
  padding: 15px 15px 8px 15px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.dnkqz-content-container .dnkqz-card-gray .dnkqz-text-description {
  padding: 0 15px 15px 15px;
  text-align: center;
  font-size: 14px;
  color: #333;
  margin: 0;
}

/* NS-ITM styles for BMI calculation overlay */
.ns-itm {
  max-width: 360px;
  margin: 0 auto;
  padding: 20px 18px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.ns-itm__title {
  font-size: 22px;
  line-height: 1.3;
  color: #0b1f24;
  margin-bottom: 14px;
}

.ns-itm__title b {
  font-weight: bold;
}

/* NS-Spinner styles */
.ns-spinner {
  --size: 64px;
  --dot: 10px;
  --r: 26px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 8px auto 18px;
  animation: ns-rotate 2s linear infinite;
}

@keyframes ns-rotate {
  to {
    transform: rotate(360deg);
  }
}

.ns-spinner i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dot);
  height: var(--dot);
  margin: -5px;
  border-radius: 50%;
  background: #1aa374;
  opacity: 0.25;
  transform-origin: center center;
}

.ns-spinner i:nth-child(1) {
  transform: rotate(0deg) translateY(calc(-1 * var(--r)));
  opacity: 0.25;
}

.ns-spinner i:nth-child(2) {
  transform: rotate(30deg) translateY(calc(-1 * var(--r)));
  opacity: 0.3;
}

.ns-spinner i:nth-child(3) {
  transform: rotate(60deg) translateY(calc(-1 * var(--r)));
  opacity: 0.35;
}

.ns-spinner i:nth-child(4) {
  transform: rotate(90deg) translateY(calc(-1 * var(--r)));
  opacity: 0.4;
}

.ns-spinner i:nth-child(5) {
  transform: rotate(120deg) translateY(calc(-1 * var(--r)));
  opacity: 0.48;
}

.ns-spinner i:nth-child(6) {
  transform: rotate(150deg) translateY(calc(-1 * var(--r)));
  opacity: 0.56;
}

.ns-spinner i:nth-child(7) {
  transform: rotate(180deg) translateY(calc(-1 * var(--r)));
  opacity: 0.64;
}

.ns-spinner i:nth-child(8) {
  transform: rotate(210deg) translateY(calc(-1 * var(--r)));
  opacity: 0.72;
}

.ns-spinner i:nth-child(9) {
  transform: rotate(240deg) translateY(calc(-1 * var(--r)));
  opacity: 0.8;
}

.ns-spinner i:nth-child(10) {
  transform: rotate(270deg) translateY(calc(-1 * var(--r)));
  opacity: 0.88;
}

.ns-spinner i:nth-child(11) {
  transform: rotate(300deg) translateY(calc(-1 * var(--r)));
  opacity: 0.96;
}

.ns-spinner i:nth-child(12) {
  transform: rotate(330deg) translateY(calc(-1 * var(--r)));
  opacity: 1;
}

/* NS-Review styles for testimonial card */
.ns-review {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 2px 2px 4.7px -1px #00000030;

}

.ns-review img {
  display: block;
  width: 100%;
  height: auto;
}

.ns-review__text {
  padding: 17px 12px;
  font-size: 14px;
  color: #0b1f24;
}

.ns-review__testimonial {
  line-height: 18px;
  margin-bottom: 8px;
  font-weight: 500;
}

.ns-verified {
  color: #1aa374;
  font-weight: 600;
}

@media (min-width: 420px) {
  .ns-itm {
    padding: 24px;
  }
  
  .ns-itm__title {
    font-size: 24px;
  }
}

.goal-result-content .dnkqz-content-h2-large.dnkqz-text-green {
  color: #35AC5A;
  margin-bottom: 0px;
  font-size: 18px;
}

.goal-result-content .dnkqz-text-paragraph-small {
  line-height: 20px;
}

.goal-result-content .dnkqz-text-paragraph-small.goal-result-intro {
  margin-bottom: 10px;
}

.goal-result-content .dnkqz-content-container {
  padding: 10px;
}

.goal-result-content .dnkqz-card-green {
  border: 1px solid #35AC5A;
}

.goal-result-content .dnkqz-card-green .goal-result-checkmark-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.goal-result-content .dnkqz-card-green .goal-result-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #35AC5A;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  flex-shrink: 0;
}

.goal-result-content .dnkqz-card-green .goal-result-checkmark::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  top: 46%;
  left: 55%;
  margin-top: -5px;
  margin-left: -4px;
}

.goal-result-content .dnkqz-content-h3-medium {
 display: none;
}
.goal-result-content .dnkqz-card-green .goal-result-achievable {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.goal-result-content .dnkqz-card-green .goal-result-help-text {
  line-height: 1.5;
  margin: 0;
}

.goal-result-content .dnkqz-text-continue.goal-result-continue {
  margin-top: -30px;
  margin-bottom: 0px;
}

/* Extra info "Did you know?" styling - Weightloss Quiz Specific */
.dnkqz-extra-info-content p {
  margin: 0;
  margin-bottom: 8px;
}

.dnkqz-extra-info-content p:last-child {
  margin-bottom: 0;
}

.dnkqz-extra-info-did-you-know {
  font-weight: bold;
  margin: 8px 0 !important;
  text-align: center;
}

/* Center all extra info titles by default (except cravings_frequency) */
.dnkqz-extra-info-title-centered {
  text-align: center;
}

/* Center "Did you know?" title for sleep_hours question using question ID class from options_wrapper */
.options_wrapper.question-sleep_hours .dnkqz-extra-info-title {
  text-align: center;
}

/* Metabolic blockers checkmark - CSS green circle with white checkmark */
.metabolic-blockers-content .dnkqz-card-green .dnkqz-checkmark-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background-color: #35AC5A;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  margin-right: 0;
  margin-top: 3px;
}

.metabolic-blockers-content .dnkqz-card-green .dnkqz-checkmark-large::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  top: 46%;
  left: 63%;
  margin-top: -5px;
  margin-left: -4px;
}

.results-motivation-content .dnkqz-content-h2-xl, .metabolic-blockers-content .dnkqz-content-h2-xl{
font-size: 21px;
line-height: 22px;
margin-bottom: 15px;
}

.metabolic-blockers-content .dnkqz-text-description-large {
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  font-weight: 300;
  }

  .metabolic-blockers-content .dnkqz-list-item-large {
    align-items: start;
  }
  
  .metabolic-blockers-content .dnkqz-list-text-large {
    line-height: 20px;
  }
  .metabolic-blockers-content .dnkqz-testimonial-block {
    margin-top: 20px;
  }
  
  .metabolic-blockers-content .dnkqz-testimonial-block .dnkqz-avatar-container {
    border-radius: 10px;
  }
  .metabolic-blockers-content .dnkqz-testimonial-text {
    font-size: 15px;
   line-height: 18px;
  }
  .metabolic-blockers-content .dnkqz-testimonial-verified .dnkqz-verified-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background-color: #35AC5A;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    margin-right: 5px;
  }
  
  .metabolic-blockers-content .dnkqz-testimonial-verified .dnkqz-verified-check::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    top: 50%;
    left: 60%;
    margin-top: -5px;
    margin-left: -4px;
  }
  .question-cravings_frequency .dnkqz-extra-info {
    padding: 25px 11px 20px 11px;
  }

/* Body type images styling */
.question-body_type_female .dnkqz-radio-label-with-image,
.question-body_type_male .dnkqz-radio-label-with-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.question-body_type_female .dnkqz-body-type-image,
.question-body_type_male .dnkqz-body-type-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.question-body_type_female .dnkqz-radio,
.question-body_type_male .dnkqz-radio {
  position: relative;
  padding: 0 !important;
  padding-left: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 150px;
  background-color: #fff;
}

/* Keep background white when selected */
.question-body_type_female .dnkqz-radio.selected,
.question-body_type_male .dnkqz-radio.selected {
  background-color: #fff !important;
  border: 1px solid #000000;
}

/* Hide text label for body type questions */
.question-body_type_female .dnkqz-radio-label-text,
.question-body_type_male .dnkqz-radio-label-text {
  display: none;
}

/* Number circle in bottom right corner */
.question-body_type_female .dnkqz-body-type-number,
.question-body_type_male .dnkqz-body-type-number {
  position: absolute;
  bottom: 10px;
  right: 7px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #35AC5A;
  z-index: 2;
  transition: all 0.2s ease;
}

/* Selected state - light green background in circle, green border and number */
.question-body_type_female .dnkqz-radio.selected .dnkqz-body-type-number,
.question-body_type_male .dnkqz-radio.selected .dnkqz-body-type-number {
  background-color: #1FB25A1A;
  border-color: #35AC5A;
  color: #35AC5A;
}

/* Hide default radio button circle for body type questions */
.question-body_type_female .dnkqz-radio::before,
.question-body_type_male .dnkqz-radio::before {
  display: none !important;
}

/* Layout: 3 columns for female, 2 columns for male */
.question-body_type_female .options_radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.question-body_type_male .options_radio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 90%;
}

/* Make body_type_female spans display on separate lines */
.body_type_female {
  display: block;
  font-size: 14px;
  line-height: 20px;
}
.dnkqz-content .body_type_female:first-child { 
  margin-bottom: 10px;
}

/* Results expectations section styling */
.dnkqz-expectations-results-section {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 5px 20px;
  margin-bottom: 20px;
  min-height: 300px;
  /* Break out of container to span full width */
  /* width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%); */
}

.dnkqz-expectations-title {
  margin-bottom: 20px;
}

.dnkqz-expectations-list {
  max-width: 60%;
}

/* Make week labels green */
.dnkqz-expectations-week-label {
  color: #35AC5A;
  font-weight: bold;
}

/* CSS-only checkmark for expectations week items */
.dnkqz-expectations-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #35AC5A;
  border-radius: 50%;
  flex-shrink: 0;
  position: absolute;
  left: -9.4px;
  top: 10px;
  z-index: 1;
}

.dnkqz-expectations-checkmark::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 7px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  top: 49%;
  left: 57%;
  margin-top: -4px;
  margin-left: -3px;
}

.dnkqz-expectations-week-item {
  position: relative;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0;
  border-left: 2px solid #ddd;
}

.dnkqz-expectations-week-item div {
 font-size: 14px;
 line-height: 20px;
}
.dnkqz-expectations-week-item .dnkqz-expectations-week-label {
  display: block;
 }
/* Testimonial box styling */
.dnkqz-expectations-testimonial-box {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 30px 20px 20px 20px;
  margin: 30px 0;
  position: relative;
  color: white;
}

.dnkqz-expectations-testimonial-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 0 -8px;
  margin-top: -8px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background-color: #026565;
  border-radius: 50%;
}
.dnkqz-expectations-testimonial-box-wrapper {
  padding: 0 20px;
}
.dnkqz-expectations-testimonial-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.dnkqz-expectations-testimonial-quote {
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  color: #000000;
  margin-top: 10px;
}

.dnkqz-expectations-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
}

.dnkqz-expectations-testimonial-author .dnkqz-text-description {
  font-weight: 400;
  color:#000000;
  margin-bottom: 0px;
  margin-right: 20px;
}

/* Verified checkmark styling */
.dnkqz-expectations-verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background-color: #35AC5A;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  margin-right: 5px;
}

.dnkqz-expectations-verified-check::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  top: 51%;
  left: 64%;
  margin-top: -5px;
  margin-left: -4px;
}

/* Remove padding from quiz-outer-wrapper for results expectations questions */
body:not(.elementor-editor-active) .quiz-outer-wrapper:has(.dnkqz-quiz-widget.has-results-expectations) {
  padding: 0 !important;
}

h2.dnkqz-content-h2-xl.dnkqz-expectations-title {
  font-size: 21px;
  text-align: left;
  margin-bottom: 0px;
}
.options_wrapper .results-expectations-content .dnkqz-content-container {
  padding: 0;

}

