/* Weightloss Quiz Specific Styles */

/* When preloader is shown after completing weightloss quiz, hide quiz content so it never flashes when loader fades out */
body.dnkqz-weightloss-preloader-active .dnkqz-quiz-widget,
body.dnkqz-weightloss-preloader-active .dnk-quiz-outer-wrapper .dnkqz-quiz-widget,
body.dnkqz-weightloss-preloader-active .dnk-quiz-outer-wrapper .top-section,
body.dnkqz-weightloss-preloader-active .quiz-outer-wrapper .dnkqz-quiz-widget,
body.dnkqz-weightloss-preloader-active .quiz-outer-wrapper .top-section {
  visibility: hidden;
  pointer-events: none;
}

/* Scoped to weightloss quiz only - uses .dnkqz-quiz-widget--weightloss added by widget PHP */
.dnkqz-quiz-widget--weightloss .dnkqz-question-label {
  margin-bottom: 20px;
}
/* Exclude extra margin on slides with "(You can select multiple answers)" (checkbox questions) */
.dnkqz-quiz-widget--weightloss .dnkqz-question-label.question-goals,
.dnkqz-quiz-widget--weightloss .dnkqz-question-label.question-cravings,
.dnkqz-quiz-widget--weightloss .dnkqz-question-label.question-medical_conditions {
  margin-bottom: 5px;
}

.dnkqz-quiz-widget--weightloss .dnkqz-question-label.question-bmi_result {
  margin-bottom: 0;
}

.dnkqz-quiz-widget--weightloss .dnkqz-extra-info {
  border-radius: 5px;
}

.dnkqz-quiz-widget--weightloss .dnkqz-extra-info-title {
  margin-bottom: 10px;
}

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

/* Motivation 1 testimonial slider (Swiper) */
.motivation_1 .dnkqz-motivation-testimonial-slider {
  margin-bottom: 12px;
  margin-left: 16px;
  margin-right: 16px;
  overflow: hidden;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .swiper-slide {
  height: auto;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .swiper-pagination {
  position: relative;
  margin-top: -10px;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: transparent;
  border: 1.5px solid #ccc;
  opacity: 1;
  transition: background 0.2s, border-color 0.2s;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .swiper-pagination-bullet-active {
  background: #333;
  border-color: #333;
}

.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-card-gray {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 10px;
  text-align: left;
  background-color: #F8F8F8;
  margin-top: 15px;
  min-height: 150px;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-card-gray .dnkqz-content-img {
  width: 110px;
  height: 110px;
  min-width: 90px;
  min-height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-testimonial-text {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-text-testimonial-headline {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 18px;
  margin: 0 0 6px 0;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-text-testimonial {
  display: block;
  font-size: 13px;
  color: #444;
  line-height: 18px;
  margin: 0 0 8px 0;
  padding: 0;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-text-testimonial em {
  font-style: italic;
}
.motivation_1 .dnkqz-motivation-testimonial-slider .dnkqz-text-user-info {
  display: block;
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.motivation_1 .dnkqz-card-gray {
  background-color: #ffff;
  box-shadow: 2px 2px 4.7px -1px #00000030;
  border-radius: 15px;
}

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

.motivation_1 .dnkqz-content-h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 20px;
  margin-bottom: 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;
  line-height: 18px;
}

/* Remove horizontal padding from quiz wrapper on motivation_intro so green card can touch edges */
.quiz-outer-wrapper:has(.dnkqz-quiz-widget.has-motivation-intro) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.motivation_1 .dnkqz-card-green {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 22px 20px 23px 20px;
  padding-right: 42%;
  position: relative;
  background-color: #E8F4EB;
  box-sizing: border-box;
  overflow: visible;
}

/* FITCODE mockup: positioned on top of green card, sticking out at bottom-right */
.motivation_1 .dnkqz-card-green .dnkqz-fitcode-mockup-img {
  position: absolute;
  right: -18%;
  bottom: -3%;
  width: 75%;
  max-width: 350px;
  height: auto;
  z-index: 99999999;
  pointer-events: none;
}

/* Motivation 1 green card - checkmarks: green circle with white check (same as elsewhere in quiz) */
.motivation_1 .dnkqz-card-green .dnkqz-checkmark-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  background-color: #35AC5A;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
}
.motivation_1 .dnkqz-card-green .dnkqz-checkmark-circle::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;
}
.motivation_1 .dnkqz-card-green .dnkqz-list-item {
  display: flex;
  align-items: center;
}

/* 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 .dnkqz-group-label {
  text-align: left;
  margin-bottom: 10px;
}
.dnkqz-question-label.question-bmi_calculation {
  text-align: center;
}
.options_wrapper.question-bmi_calculation .dnkqz-answer-input {
  text-align: left;
}
.bmi_result_wrapper {
  margin-top: 10px;
}
.question-bmi_calculation .dnkqz-group-description {
  font-weight: 300;
}
/* 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: 5px 10px;
  overflow: visible !important;
  margin: 15px 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;;
  text-align: left;
}

/* 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 {
    font-weight: normal;
    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 - larger for BMI calculation overlay */
.ns-spinner {
  --size: 100px;
  --dot: 14px;
  --r: 42px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 16px auto 24px;
  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-left: calc(var(--dot) / -2);
  margin-top: calc(var(--dot) / -2);
  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%;
}

/* Weight loss question: signal strength icon at the end of each option */
.question-weight_loss .dnkqz-radio-label-with-signal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.question-weight_loss .dnkqz-radio-label-with-signal img {
  margin-left: 20px;
}
.question-weight_loss .dnkqz-radio-label-with-signal .dnkqz-radio-label-text {
  flex: 1;
}
.question-weight_loss .dnkqz-weight-loss-signal {
  margin-left: auto;
  flex-shrink: 0;
  height: 1.25em;
  width: auto;
  vertical-align: middle;
}

/* 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 – below 375px: cover, center right (original) */
.dnkqz-expectations-results-section {
  position: relative;
  background-position: top right;
  background-repeat: no-repeat;
  padding: 5px 20px;
  margin-bottom: 0;
  min-height: 300px;
  overflow: hidden;
}

/* 375px and up: full body visible, smaller, top right */
@media (min-width: 375) {
  .dnkqz-expectations-results-section {
    background-size: 50% auto;
    background-position: right top;
    min-height: 320px;
  }
}

@media (min-width: 768px) {
  .dnkqz-expectations-results-section {
    background-size: 45% auto;
    min-height: 380px;
  }
}

/* White fade: solid white at checkmark line, gentle fade into middle of screen */
.dnkqz-expectations-results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff 25%,
    rgba(255, 255, 255, 0.95) 35%,
    rgba(255, 255, 255, 0.75) 45%,
    rgba(255, 255, 255, 0.4) 55%,
    rgba(255, 255, 255, 0.15) 65%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}

/* 539px–768px: extend white fade so image start is not visible on the left */
@media (min-width: 539px) {
  .dnkqz-expectations-results-section::before {
    background: linear-gradient(
      to right,
      #fff 0%,
      #fff 45%,
      rgba(255, 255, 255, 0.98) 55%,
      rgba(255, 255, 255, 0.92) 62%,
      rgba(255, 255, 255, 0.75) 70%,
      rgba(255, 255, 255, 0.5) 78%,
      rgba(255, 255, 255, 0.2) 85%,
      transparent 94%
    );
  }
}

/* 768px+: even longer fade so image edges stay fully covered */
@media (min-width: 768px) {
  .dnkqz-expectations-results-section::before {
    background: linear-gradient(
      to right,
      #fff 0%,
      #fff 52%,
      rgba(255, 255, 255, 0.98) 60%,
      rgba(255, 255, 255, 0.92) 68%,
      rgba(255, 255, 255, 0.75) 75%,
      rgba(255, 255, 255, 0.5) 82%,
      rgba(255, 255, 255, 0.2) 88%,
      transparent 96%
    );
  }
}

.dnkqz-expectations-results-section > * {
  position: relative;
  z-index: 1;
}

.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: 14px;
  line-height: 20px;
  font-weight: 300;
  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;

}

body .dnkqz-quiz-widget.has-motivation-intro .options_wrapper { overflow-x: hidden; }

/* === BMI styles (moved from dnk-quiz-style.css) === */
.dnkqz-bmi-display {
  font-size: 32px;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 10px;
}

.dnkqz-bmi-scale {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

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

.bmi_result_wrapper .dnkqz-bmi-bar-container {
  overflow: visible !important;
  position: relative;
}

.dnkqz-bmi-bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: linear-gradient(to right,
      #87CEEB 0%,
      #87CEEB 12%,
      #4CAF50 12%,
      #4CAF50 33%,
      #FFD700 33%,
      #FFD700 47%,
      #FFA500 47%,
      #FFA500 60%,
      #FF6B6B 60%,
      #FF6B6B 73%,
      #DC143C 73%,
      #DC143C 100%);
  border-radius: 6px;
  margin-bottom: 5px;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dnkqz-bmi-marker {
  position: absolute;
  top: -4px;
  left: 0%;
  transform: translateX(-50%);
  z-index: 100;
  transition: left 0.5s ease-out;
  pointer-events: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--marker-color, #4CAF50);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dnkqz-bmi-marker-text {
  position: absolute !important;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--marker-color, #4CAF50) !important;
  color: white !important;
  padding: 0px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 60px;
  text-align: center;
}

.dnkqz-bmi-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
  margin-top: 5px;
}

.dnkqz-bmi-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.dnkqz-bmi-warning {
  font-size: 16px;
  color: #d32f2f;
  margin-bottom: 20px;
  font-weight: bold;
}

.bmi_result_wrapper .dnkqz-extra-info {
  margin: 20px auto;
}

.bmi_result_wrapper .dnkqz-bmi-info {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

.dnkqz-svg-container svg {
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* === Weightloss Support Widget (moved from dnk-quiz-style.css) === */
.weightloss-support-wrapper {
  max-width: 100%;
  background: transparent;
  transition: background-color 0.3s ease;
}

.weightloss-support-wrapper.expanded {
  background: #d4d4d4;
  border-radius: 8px;
}

.weightloss-support-wrapper .weightloss-support-title {
  margin-bottom: 20px;
}

.weightloss-support {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.weightloss-support.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  column-gap: 30px;
  row-gap: 10px;
  background: transparent;
  border: none;
  padding: 20px;
}

.weightloss-support.two-column-layout.show-7 {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f0f0f0;
}

.weightloss-support.two-column-layout.show-7::-webkit-scrollbar {
  width: 8px;
}

.weightloss-support.two-column-layout.show-7::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.weightloss-support.two-column-layout.show-7::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

.weightloss-support.two-column-layout.show-7::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.weightloss-support .support-item {
  display: contents;
}

.weightloss-support .support-ingredient {
  text-align: left;
  padding: 4px 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.weightloss-support .support-ingredient-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.weightloss-support .support-ingredient-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.weightloss-support .support-ingredient-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.weightloss-support .support-benefit {
  text-align: left;
  padding: 4px 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 300;
  align-content: center;
}

.weightloss-support-wrapper,
.weightloss-support,
.weightloss-support .support-item,
.weightloss-support .support-ingredient,
.weightloss-support .support-benefit {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.weightloss-support .support-item-hidden {
  display: none;
}

.weightloss-support.show-7 .support-item-hidden {
  display: contents;
}

.weightloss-support-more {
  text-align: center;
  margin-top: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: #E9E9E9;
}

.weightloss-support-toggle {
  display: inline-block;
  color: #35AC5A;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.weightloss-support-toggle:hover {
  opacity: 0.8;
}

.weightloss-support-subtitle {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 300;
  margin-top: 5px;
}

.weightloss-support-more.hidden {
  display: none;
}

/* === Weightloss quiz content slides - mobile (moved from dnk-quiz-style.css @media 767px) === */
@media (max-width: 767px) {
  .bmi-result-content {
    padding-bottom: 0;
  }

  body.dnkqz-hide-progress .bmi-result-content table {
    width: 100%;
    margin-bottom: 20px;
  }

  .dnkqz-bmi-bar {
    height: 10px;
  }

  .dnkqz-bmi-marker {
    width: 18px;
    height: 18px;
    top: -4px;
  }

  .dnkqz-bmi-marker-text {
    font-size: 12px;
    bottom: 22px;
  }

  .dnkqz-bmi-label {
    font-size: 11px;
  }

  .goals-motivation-content {
    padding-bottom: 0;
  }

  .goals-motivation-content img {
    max-width: 100%;
    height: auto;
  }

  /* Content-only slides: fixed nav, options wrapper, button size */
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-bmi-result .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goal-result .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-motivation-intro .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goals-motivation .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-motivation .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-metabolic-blockers .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-expectations .dnkqz-quiz-nav {
    position: fixed !important;
    bottom: max(20px, calc(12px + env(safe-area-inset-bottom, 0px))) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 40px) !important;
    max-width: 500px !important;
    z-index: 10 !important;
  }

  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-bmi-result ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-motivation-intro ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goals-motivation ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goal-result ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-motivation ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-metabolic-blockers ~ .quiz-urls-center-wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-expectations ~ .quiz-urls-center-wrapper {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9 !important;
    display: block !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-bmi-result .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-motivation-intro .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goals-motivation .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goal-result .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-motivation .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-metabolic-blockers .dnkqz-quiz-nav,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-expectations .dnkqz-quiz-nav {
    bottom: max(50px, calc(52px + env(safe-area-inset-bottom, 0px))) !important;
  }

  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-bmi-result .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goal-result .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-motivation-intro .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goals-motivation .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-motivation .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-metabolic-blockers .options_wrapper,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-expectations .options_wrapper {
    flex: 0 1 auto !important;
    max-height: calc(100svh - 160px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 90px !important;
  }

  .motivation-intro-content,
  .results-motivation-content,
  .metabolic-blockers-content,
  .results-expectations-content {
    padding-bottom: 0;
  }

  .motivation-intro-content img,
  .results-motivation-content img,
  .metabolic-blockers-content img,
  .results-expectations-content img {
    max-width: 100%;
    height: auto;
  }

  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss .dnkqz-quiz-nav .dnkqz-quiz-btn {
    width: 100% !important;
  }

  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-bmi-result .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goal-result .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-motivation-intro .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-goals-motivation .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-motivation .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-metabolic-blockers .dnkqz-quiz-nav .dnkqz-quiz-btn,
  body.dnkqz-hide-progress .dnkqz-quiz-widget.dnkqz-quiz-widget--weightloss.has-results-expectations .dnkqz-quiz-nav .dnkqz-quiz-btn {
    width: 190px !important;
    height: 50px !important;
  }
}

.results-expectations-content .dnkqz-expectations-testimonial-quote {
font-style: normal;
}

/* Preloader – weightloss quiz variant: 12 dots, layout like reference on all screens */
#preloader_dnk.preloader-weightloss .preloader-content {
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: 32px 20px 40px;
  padding-top: min(32px, 5vh);
}

#preloader_dnk.preloader-weightloss .preloader-title {
  margin-bottom: 40px;
  padding: 0 16px;
}

#preloader_dnk.preloader-weightloss .circular-progress {
  width: 150px;
  height: 150px;
  margin: 50px 0;
}

#preloader_dnk.preloader-weightloss .progress-dots .dot {
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
}

/* 12 dots at 30° spacing */
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(1) { transform: rotate(0deg) translateX(55px) rotate(0deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(2) { transform: rotate(30deg) translateX(55px) rotate(-30deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(3) { transform: rotate(60deg) translateX(55px) rotate(-60deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(4) { transform: rotate(90deg) translateX(55px) rotate(-90deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(5) { transform: rotate(120deg) translateX(55px) rotate(-120deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(6) { transform: rotate(150deg) translateX(55px) rotate(-150deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(7) { transform: rotate(180deg) translateX(55px) rotate(-180deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(8) { transform: rotate(210deg) translateX(55px) rotate(-210deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(9) { transform: rotate(240deg) translateX(55px) rotate(-240deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(10) { transform: rotate(270deg) translateX(55px) rotate(-270deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(11) { transform: rotate(300deg) translateX(55px) rotate(-300deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(12) { transform: rotate(330deg) translateX(55px) rotate(-330deg); }
#preloader_dnk.preloader-weightloss .progress-dots .dot:nth-child(n+13) { display: none; }

#preloader_dnk.preloader-weightloss .preloader-tasks {
  margin-top: 50px;
  max-width: 320px;
}

#preloader_dnk.preloader-weightloss .preloader-stars {
  font-size: 20px;
}
#preloader_dnk.preloader-weightloss .preloader-rating-number { 
  font-weight: 300;
  margin-bottom: 5px;
  margin-top: 5px;
}

#preloader_dnk.preloader-weightloss .preloader-rating {
  margin-top: 48px;
}
#preloader_dnk.preloader-weightloss .preloader-rating-score {
  font-weight: 400;
  margin-top: 6px;
}

/* Email collection – weightloss: left-align title and description */
#dnkqz-email-collection.email-collection-weightloss .email-collection-title,
#dnkqz-email-collection.email-collection-weightloss .email-collection-description {
  text-align: left;
}

.question-motivation_intro .dnkqz-content-container.motivation_1 {
  max-width: 450px;
  margin: auto;
}