:root {
  --blue: #004DC0;
  --white: #ffffff;
  --poppins: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--poppins);
  font-weight: 400;
  font-style: normal;
}

.btn {
  padding: 10px 24px;
  font-size: 16px;
  font-family: var(--poppins);
  font-weight: 600;
  font-style: normal;
  border-radius: 25px;
  color: var(--white);
  background-color: var(--blue);
  box-shadow: none;
  border: 1px solid var(--blue);
  cursor: pointer;
}

.btn:hover {
  color: var(--blue);
  background-color: var(--white);
}

.white {
  color: var(--white);
}

.white * {
  color: var(--white);
}

.btn.white {
  background-color: var(--white);
  color: var(--blue);
}

.btn.white:hover {
  background-color: var(--blue);
  color: var(--white);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-weight: 500;
}

.btn-outline:hover {
  background-color: var(--blue);
  color: var(--white);
  font-weight: 500;;
}

h1, .h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
}

h2, .h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}


.text-lg {
  font-size: 25px;
  line-height: 1.4;
}













#diabetes-risk-test {
  max-width: 1120px;
  margin: 30px 15px;
  padding: 0px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

/* Welcome Screen */
.welcome-screen {
  background: url('img/assessment-landing-bg.jpg') no-repeat right bottom/cover;
  text-align: center;
  padding: 40px;
  min-height: 522px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.welcome-content {
    max-width: 575px;
    margin: 0 auto;
}

.welcome-screen-header, 
.form-step--left .form-step--header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.welcome-screen h1 {
  margin-bottom: 20px;
}

.welcome-screen p {
  margin-bottom: 30px;
}

/* .start-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.start-btn:active {
  transform: translateY(0);
} */



.form-instruction {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 25px;
  padding: 8px 15px;
  background: #f0fffe;
  border-radius: 5px;
  border-left: 3px solid #2b7a78;
  line-height: 1.5;
}

/* Step Progress Bar */
.step-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  padding: 0 10px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EFF0F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #6F6C90;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-number {
  display: block;
  font-size: 16px;
}

.step-check {
  display: none;
  font-size: 20px;
}

.step-label {
  margin-top: 8px;
  font-size: 16px;
  text-align: center;
  color: #6F6C90;
  line-height: 1.3;
}

.step-connector {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin: 0 10px;
  transition: background 0.3s ease;
  border-radius: 4px;
}

/* Active Step */
.step-item.active .step-circle {
  background: var(--blue);
  color: white;
}

.step-item .step-label {
    color: #6F6C90;
    font-weight: 400;
    font-size: 13px;
    position: absolute;
    top: 40px;
    min-width: 100px;
}

.step-item.active .step-label {
    color: #001328;
    font-weight: 400;
    font-size: 13px;
}

/* Completed Steps */
.step-item.completed .step-circle {
    background: #004DC0;
    border-color: #004DC0;
    color: white;
}

.step-item.completed .step-number {
  display: none;
}

.step-item.completed .step-check {
  display: block;
}

.step-item.completed .step-label {
  /* color: #27ae60; */
}

.step-item.completed + .step-connector {
  background: #004DC0;
}

/* Responsive Progress Bar */
@media (max-width: 600px) {
  .step-progress-bar {
    padding: 0 5px;
    margin-bottom: 30px;
  }
  

   .step-circle {
      width: 28px;
      height: 28px;
      font-size: 12px;
  }
  
  .step-label {
    font-size: 9px;
    max-width: 50px;
  }

  .step-number {
    font-size: 13px;
  }
  
  .step-connector {
    margin: 0;
  }
  
  .step-check {
    font-size: 16px;
  }
}

/* Form Steps */
.form-step {
  display: none;
  grid-template-columns: 320px auto;
  gap: 0;
}

.form-step.active {
  display: grid;
}

.form-step--left {
    padding: 40px;
    width: 100%;
    background: url('img/left-panel-bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 120px;
}

.form-step--image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.form-step--image h3 {
    position: absolute;
    padding: 0;
    text-align: center;
    left: 0;
    right: 0;
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
}

.form-step--right {
    padding: 40px 40px 200px;
}

.form-step--header .formTitle {
    font-size: 24px;
    font-weight: 600;
    color: #001328;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 590px;
    line-height: 1.6;
}

.form-step--header .text-info {
    font-size: 16px;
    color: #001328;
    text-align: center;
    margin: 0 auto;
    max-width: 590px;
    line-height: 1.5;
}

.form-step--fields > label {
  font-size: 18px;
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #001328;
}

.form-step[data-step="2"] .radio-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 30px;
}

/* Auto-advance hint for steps without next button */
.form-step[data-step="1"] > label:first-of-type::after,
.form-step[data-step="2"] > label:first-of-type::after,
.form-step[data-step="3"] > label:first-of-type::after,
.form-step[data-step="4"] > label:first-of-type::after,
.form-step[data-step="5"] > label:first-of-type::after {
  content: " ↓";
  color: #2b7a78;
  font-size: 14px;
  margin-left: 5px;
  opacity: 0.6;
}

.form-step[data-step="7"] > label:first-of-type::after {
  content: " (সম্পূর্ণ করুন / Complete)";
  font-size: 12px;
  color: #2b7a78;
  font-weight: normal;
  margin-left: 5px;
}

form#riskForm {
    position: relative;
}


#diabetes-risk-test select,
#diabetes-risk-test input[type="text"],
#diabetes-risk-test input[type="tel"],
#diabetes-risk-test input[type="number"],
.mail-charts-form input[type="email"] {
  width: 100%;
  padding: 8px 14px;
  line-height: 1.6;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

#diabetes-risk-test select:focus,
#diabetes-risk-test input:focus {
  outline: none;
  border-color: #2b7a78;
  box-shadow: 0 0 0 3px rgba(43, 122, 120, 0.1), 0 2px 8px rgba(43, 122, 120, 0.15);
  transform: translateY(-1px);
}

#diabetes-risk-test select:hover,
#diabetes-risk-test input:hover {
  border-color: #9ecbca;
}

/* Custom select styling */
#diabetes-risk-test select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%232b7a78" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
  padding-right: 40px;
  cursor: pointer;
}

#diabetes-risk-test select option {
  padding: 10px;
}

/* Height input group */
.height-input-group {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.height-input-item {
  flex: 1;
}

.height-input-item select {
  margin: 0;
}

/* Valid input animation */
#diabetes-risk-test input.valid-input {
  border-color: #27ae60;
  animation: validPulse 0.5s ease;
}

@keyframes validPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(39, 174, 96, 0.2);
  }
}

/* Phone hint text */
.phone-hint {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Weight hint text */
.weight-hint {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Input checkmark */
.input-checkmark {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #27ae60;
  font-weight: bold;
  pointer-events: none;
}

/* Wrapper for phone input */
.form-step[data-step="7"] {
  position: relative;
}

.form-step[data-step="7"] input {
  padding-right: 45px;
}

/* Radio Button Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ADB0C0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #001328;
    width: 100%;
}

.form-step[data-step="1"] .radio-group,
.form-step[data-step="3"] .radio-group,
.form-step[data-step="4"] .radio-group {
    flex-direction: row;
    gap: 20px 30px;
    flex-wrap: wrap;
}

.form-step[data-step="1"] .radio-group .radio-option,
.form-step[data-step="3"] .radio-group .radio-option,
.form-step[data-step="4"] .radio-group .radio-option {
    width: calc(50% - 15px);
}

.form-step[data-step="5"] .radio-group {
    flex-direction: row;
    gap: 20px 30px;
    flex-wrap: nowrap;
}

.form-step[data-step="5"] .radio-group .radio-option {
    width: calc(33.33% - 20px);
}

/* Custom radio button indicator */
/* .radio-option::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: #fff;
} */

/* Inner dot when selected */
.radio-option::after {
  /* content: '';
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2b7a78; */
}

.radio-option:hover {
  border-color: #004DC0;
  background: #BEDAFB;
}

.radio-option:hover::before {
  border-color: #2b7a78;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
  color: #004DC0;
  font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: #004DC0;
  background: #BEDAFB;
  box-shadow: 0 4px 12px rgba(43, 122, 120, 0.25);
}

.radio-option:has(input[type="radio"]:checked)::before {
  border-color: #2b7a78;
  border-width: 2px;
  background: #fff;
}

.radio-option:has(input[type="radio"]:checked)::after {
  transform: translateY(-50%) scale(1);
}

.radio-label {
  flex: 1;
  font-size: 18px;
  color: #001328;
  line-height: 1.4;
  position: relative;
  text-align: center;
}

.radio-option:hover .radio-label {
  color: #004DC0;
}

/* Checkmark icon on selection */
.radio-option:has(input[type="radio"]:checked) .radio-label::after {
  content: '✓';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #2b7a78;
  font-weight: bold;
}

/* Navigation Buttons */
.form-nav-wrapper {
  position: absolute;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  left: 0;
  right: 0;
  bottom: 35px;
}

.form-navigation {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    width: calc(100% - 320px);
    padding: 0 40px;
}

#diabetes-risk-test button[type="button"],
#diabetes-risk-test button[type="submit"] {
  /* flex: 1;
  max-width: 200px;
  background: #2b7a78;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(43, 122, 120, 0.2);
  position: relative;
  overflow: hidden; */
}



#diabetes-risk-test button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#prevBtn {
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

#prevBtn:hover {
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Gestational field */
#gestationalField {
  overflow: hidden;
}

/* When only one button is visible, make it centered */
.form-navigation:has(button:only-child) {
  justify-content: center;
}

.form-navigation:has(button:only-child) button {
  max-width: 300px;
}

button#skipBtn {
    padding: 0;
    border: 0;
    background: no-repeat;
    text-decoration: underline;
    font-size: 16px;
    color: #004DC0;
    font-weight: 500;
    margin: 0 0 0 auto;
}
button#skipBtn:disabled {
    background: none;
}

/* Result Display */
#diabetes-risk-test .result {
  background: #fff;
  padding: 30px;
  animation: slideIn 0.5s ease;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.result-type_score-high .result-header h1 {
    color: red;
}

.result-type_score-low .result-header h1 {
    color: green;
}

.result-summary div {
    font-size: 18px;
}

.result-summary .h2 {
    margin: 5px 0 10px;
    font-size: 24px;
}





@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result h3 {
  color: #2b7a78;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Score Container */
.score-container {
  margin: 25px 0;
  border-radius: 8px;
}

.score-label {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 500;
}

.score-label strong {
  font-size: 24px;
  color: green;
}

.result-type_score-high .score-label strong {
    color: red;
}

.score-bars {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.score-bar {
  width: 30px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.score-bar.filled {
  animation: fillBar 0.5s ease forwards;
}


.diet-chart-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diet-chart-wrapper .diet-chart-item {
    border: 1px solid var(--blue);
    border-radius: 15px;
}

.diet-chart-wrapper > :last-child {
    grid-column: 2;
}

.diet-chart-wrapper .diet-chart-item h5 {
    text-align: center;
    font-size: 18px;
    margin: 0;
    padding: 15px 10px;
    border-bottom: 1px solid var(--blue);
    background: #BEDAFB;
    border-radius: 15px 15px 0 0;
    font-weight: 600;
    color: #001328;
}

.diet-chart-wrapper .diet-chart-item ul li {
    font-size: 16px;
}


.vegetable-list-wrapper, 
.fruits-list-wrapper {
  position: relative;
}

.vegetable-list-wrapper h4, 
.fruits-list-wrapper h4 {
  font-size: 25px;
  color: #0095DB;
  margin: 40px 0 20px;
  font-weight: 500;
  line-height: 1.3;
}

.vegetable-list, 
.fruits-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.vegetable-list .owl-stage, 
.fruits-list .owl-stage {
  display: flex;
  align-items: stretch;
}


.vegetable-list li, 
.fruits-list li {
    padding: 10px;
    border-radius: 10px;
    background: #E6F0FF;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
}

.vegetable-list li label, 
.fruits-list li label {
    font-weight: bold;
}

.vegetable-list li span.qty, 
.fruits-list li span.qty {
    font-weight: 400;
    font-size: 12px;
}

.vegetable-list-wrapper, 
.fruits-list-wrapper {

}

.vegetable-list .owl-prev, 
.vegetable-list .owl-next, 
.fruits-list .owl-prev, 
.fruits-list .owl-next {
    position: absolute;
    left: -18px;
    top: calc(50% - 20px) !important;
    background-image: url('img/arrow.svg') !important;
    background-size: 10px 20px !important;
    background-repeat: no-repeat !important;
    width: 40px;
    height: 40px;
    cursor: pointer !important;
    background-color: #BEDAFB !important;
    border-radius: 20px;
    border: 1px solid #004DC0 !important;
    background-position: center center !important;
}

.vegetable-list .owl-next, 
.fruits-list .owl-next {
  left: auto;
  right: -18px;
  transform: rotate(180deg);
}

.vegetable-list .owl-prev span, 
.vegetable-list .owl-next span, 
.fruits-list .owl-prev span,
.fruits-list .owl-next span {
  visibility: hidden;
}

.mail-charts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto 50px;
    background: url('img/mail-bg.jpg') no-repeat center center/cover;
    padding: 30px;
    border-radius: 20px;
}

.mail-charts h3 {
  color: var(--white);
  max-width: 550px;
  line-height: 1.5;
  margin: 0;
}

.mail-charts-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.mail-charts-form input[type="email"] {
    border-radius: 8px 0 0 8px;
    margin: 0;
    border: none;
    padding: 16px 20px;
    height: 52px;
    width: 350px;
}

.mail-charts-form input[type="button"] {
    border-radius: 0 8px 8px 0;
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1;
    border: none;
    background: #BEDAFB;
    color: #004DC0;
}

.result-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 20px;
}

.result-cta .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  justify-content: center;
  text-decoration: none;
}

.result-cta .btn:hover img {
    filter: brightness(0) invert(1);
}


@keyframes fillBar {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Score colors based on risk level */
.score-bar.score-low {
  background: linear-gradient(to top, #27ae60, #2ecc71);
  box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}

.score-bar.score-medium {
  background: linear-gradient(to top, #f39c12, #f1c40f);
  box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

.score-bar.score-high {
  background: linear-gradient(to top, #c0392b, #e74c3c);
  box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.score-bars > .score-bar:nth-child(3) {
    background: linear-gradient(to right, #27ae60, #b3cc2e);
}

.score-bars > .score-bar:nth-child(4) {
    background: linear-gradient(to right, #b3cc2e, #ccc72e);
}

.score-bars > .score-bar:nth-child(5) {
    background: linear-gradient(to right, #c09f2b, #e74c3c);
}

.score-display {
  font-size: 18px;
  margin: 15px 0;
  color: #333;
}

.score-display strong {
  font-size: 28px;
  color: #2b7a78;
}

.message {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 20px 0;
}

.retake-btn {
  margin-top: 20px;
  background: #2b7a78 !important;
  padding: 12px 24px;
  border-radius: 5px;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.retake-btn:hover {
  background: #17252a !important;
}

.error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  margin-top: 15px;
  border: 1px solid #f5c6cb;
}







/* 
** Responsive 
*/
@media (max-width: 600px) {
  #diabetes-risk-test {
    margin: 0;
    padding: 0px;
    border-radius: 0;
    box-shadow: none;
  }
  .welcome-screen {
    text-align: center;
    padding: 40px 20px;
    min-height: unset;
    background-position: center center;
    min-height: 100vh;
  }

  .welcome-screen-header, 
  .form-step--left .form-step--header {
      gap: 20px;
      width: 100%;
  }

  .welcome-screen h1 {
      font-size: 32px;
      line-height: 1.4;
      margin: 60px 0 30px;
  }

  .text-lg {
    font-size: 18px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .form-step {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .form-step--left {
    padding: 20px;
    align-items: center;
    gap: 30px;
  }

  .form-step--header .formTitle {
    font-size: 18px;
    line-height: 1.4;
  }

  .step-item:not(.active) .step-label {
      display: none;
  }

  .step-item.active .step-label {
      font-size: 12px;
  }

  .step-item .step-label {
      top: 32px;
  }

  .form-step--right {
      padding: 40px 20px 120px;
  }

  .form-step[data-step="1"] .form-step--right {
    padding-bottom: 30px;
  }

  .form-step[data-step="6"] .form-step--right {
    padding-bottom: 80px;
  }

  .form-step--image img {
    height: 60px;
  }

  .form-step[data-step="7"] .form-step--image img {
    height: 200px;
  }

  .form-step--fields {
    margin: 60px 0 0;
  }

  .form-step[data-step="1"] .radio-group, 
  .form-step[data-step="3"] .radio-group, 
  .form-step[data-step="4"] .radio-group {
    flex-direction: column;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .form-step[data-step="1"] .radio-group .radio-option, 
  .form-step[data-step="3"] .radio-group .radio-option, 
  .form-step[data-step="4"] .radio-group .radio-option {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .form-step[data-step="2"] .radio-group {
    flex-direction: column;
    gap: 20px;
  }

  .form-step--fields > label {
    font-size: 16px;
  }

  .form-step[data-step="5"] .radio-group {
    flex-direction: column;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .form-step[data-step="5"] .radio-group .radio-option {
    width: 100%;
  }

  .form-nav-wrapper {
    align-items: center;
    justify-content: center;
    bottom: 25px;
  }

  .form-navigation {
    gap: 20px 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  button#prevBtn {
    order: 1;
  }

  button#nextBtn {
    order: 2;
  }

  button#skipBtn {
    order: 4;
    font-size: 13px;
    flex-basis: 100%;
    text-align: right;
  }

  button#submitBtn {
    order: 3;
  }

  #diabetes-risk-test .result {
    padding: 30px 20px;
  }

  .result-header {
    flex-direction: column;
    text-align: center;
  }

  .result-header h1 {
    margin: 15px 0;
    font-size: 36px;
  }

  p.message {
    margin-bottom: 0;
  }

  .result-summary .h2 {
    font-size: 20px;
  }

  .food-chart-title {
    text-align: center;
    margin: 30px 0 0;
  }

  .calorie-chart-wrapper {
    font-size: 13px;
  }

  .calorie-chart-wrapper h4 {
    text-align: center;
    font-size: 18px;
  }

  .vegetable-list-wrapper h4, 
  .fruits-list-wrapper h4 {
    font-size: 16px;
  }

  .vegetable-list .owl-prev, 
  .vegetable-list .owl-next, 
  .fruits-list .owl-prev, 
  .fruits-list .owl-next {
    position: absolute;
    left: -16px;
    top: calc(50% - 16px) !important;
    width: 32px;
    height: 32px;
  }

  .vegetable-list .owl-next, .fruits-list .owl-next {
    left: auto;
    right: -16px;
  }

  
  .form-instruction {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .result h3 {
    font-size: 20px;
  }
  
  .score-bar {
    width: 16px;
    height: 35px;
  }
  
  .score-bars {
    gap: 6px;
  }
  
  .score-label strong {
    font-size: 20px;
  }
  
  .score-display strong {
    font-size: 24px;
  }
  
  .radio-option {
    padding: 12px 15px;
  }
  
  .radio-option::before {
    width: 20px;
    height: 20px;
    left: 12px;
  }
  
  .radio-option::after {
    width: 10px;
    height: 10px;
    left: 17px;
  }
  
  .radio-label {
    font-size: 15px;
  }
  
  #diabetes-risk-test button[type="button"],
  #diabetes-risk-test button[type="submit"] {
    max-width: none;
  }

  .mail-charts h3 {
    font-size: 16px;
  }

  .mail-charts-form {
    gap: 20px;
    flex-direction: column;
  }

  .mail-charts-form input[type="email"] {
    border-radius: 8px;
    padding: 10px;
    height: 44px;
    width: 230px;
    font-size: 14px;
    text-align: center;
  }

  .mail-charts-form input[type="button"] {
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 14px;
  }

  .result-cta {
    flex-direction: column;
  }

  .result-cta .btn {
    gap: 10px;
    font-size: 14px;
    padding: 12px 20px;
  }

  .diet-chart-wrapper {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
  }

  .diet-chart-wrapper > :last-child {
    grid-column: 1;
  }

  .diet-chart-wrapper .diet-chart-item h5 {
      font-size: 16px;
      padding: 12px 10px;
  }

  .diet-chart-wrapper .diet-chart-item ul li {
      font-size: 14px;
  }
}
