#loan-form p {
  color: #363636 !important;
}

.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

.preloader {
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  border: 6px solid #2784c6;
  border-top: 6px solid transparent;
  position: fixed;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Progress Bar */
.progremm-bar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 46px;
}
.mds-stepper__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 650px;
  justify-content: center;
}

.progress-bar {
  display: flex;
  flex: 1;
  position: relative;
}

.mds-stepper__step {
  align-items: center;
  display: flex;
  position: relative;
  width: 100%;
}

.mds-stepper__step-progress-track {
  background-color: #efeff0;
  height: 3px;
  position: relative;
  width: 100%;
}

/* 🛠 Fix: Remove last step's progress bar & its space */
.progress-bar:last-child {
  flex: 0;
  /* Remove extra flex space */
}

.progress-bar:last-child .mds-stepper__step-progress-track {
  width: 0;
  overflow: hidden;
  display: block;
}

.mds-stepper__step-progress-track:after {
  background-color: #2784c6;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  transition: width 0.4s linear;
  width: 0;
}

.complete .mds-stepper__step-progress-track:after {
  width: 100%;
}

.progress-bar-label {
  transform: translateX(-35%);
  pointer-events: none;
  position: absolute;
  text-align: center;
  bottom: -30px;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.mds-stepper__step-indicator {
  background: transparent;
  border-radius: 50%;
  display: block;
  height: 21px;
  position: relative;
  width: 21px;
  z-index: 1;
}

.mds-stepper__step-indicator:before {
  background-color: #cccccc;
  border-radius: 50%;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  transform: scale(0.52381);
  transition: transform 0.4s, background-color 0.4s;
  width: 100%;
  z-index: 2;
}

.active .mds-stepper__step-indicator:before {
  background-color: #2784c6;
  box-shadow: 0px 0px 0 14px #e4effa;
}

.active .progress-bar-label {
  color: #2784c6;
}

.complete .mds-stepper__step-indicator:before {
  background-color: #2784c6;
}

.complete .progress-bar-label {
  color: #2784c6;
}

#loan-form .elementor-button {
  background-color: #2784c6;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 70px 70px 70px 70px;
}
#loan-form .elementor-button-wrapper {
  text-align: center;
}
.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}

.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  color: #363636;
  font-size: 26px !important;
  line-height: 35px !important;
}

/* Slider Container */
.slider-container {
  text-align: center;
  margin: 90px auto 50px;
  width: 80%;
  max-width: 600px;
  position: relative;
}

/* Debt Range Slider */
#debt-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #8cc4ed;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
}

/* Slider Thumb */
#debt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #007bff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

#debt-range::-webkit-slider-thumb:hover {
  background: #0056b3;
}

/* Range Value Display */
.debt-value {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  font-family: "Onest", sans-serif;
  color: #222222;
  /* background: #f8f9fa; */
  padding: 10px 25px;
  border-radius: 5px;
  margin-top: 15px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

/* Range Labels */
.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 400;
  color: #656565;
  margin-top: 10px;
  font-family: "Onest", sans-serif;
}

.continue-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2784c6;
  /* Blue color */
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 18px !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 170px;
  /* Adjust width */
  position: relative;
  margin: 0 auto;
}

/* Hover Effect */
.continue-btn:hover {
  background: #1c75b7;
}

.continue-btn:hover::after {
  background: #f0f0f0;
}

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}
.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

a.elementor-button.no-btn.continue-btn.elementor-button-link.elementor-size-sm {
  background: white !important;
  color: #1c75b7 !important;
}
a.elementor-button.no-btn.continue-btn.elementor-button-link.elementor-size-sm:hover {
  color: #1c75b7 !important;
}
.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  color: #363636;
  font-size: 26px;
}

/* Form Container */

.form-container {
  margin: 90px auto 50px;
}

input::placeholder,
select::placeholder,
select,
input {
  color: #999;
  font-size: 18px !important;
  font-family: "Onest", Sans-Serif;
  line-height: 24px;
}

.form-container h2 {
  font-weight: 600;
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  text-align: center;
}

.state-dropdown option {
  font-family: "Inter", Sans-Serif;
  font-weight: 400 !important;
  font-size: 16px;
}

/* Dropdown Styling */
.state-dropdown {
  width: 600px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 auto;
}

/* Step 3 */

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}

.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  line-height: 48px;
  text-align: center;
  color: #363636;
  font-size: 26px;
}

/* Form Container */

/* Form Title */
.form-title {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Form Styling */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 600px;
  margin: 90px auto 50px;
}

.input-row {
  display: flex;
  gap: 15px;
  width: 100%;
}

.input-field {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc !important;
  border-radius: 5px;
  outline: none;
}

/* Adjusting layout for specific fields */
.input-field:first-child {
  width: 50%;
}

.input-field:last-child {
  width: 50%;
}

.full-width,
.zip-code {
  width: 100% !important;
}

input::placeholder,
select::placeholder,
select {
  color: #999;
}

/* Next Button */
.next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2385cf;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 30px;
  transition: 0.3s;
  position: relative;
  width: 120px;
  margin-left: auto;
  margin-right: auto;
}

/* Arrow Circle */
.next-btn::after {
  content: "➜";
  font-size: 16px;
  color: #2385cf;
  background: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: 0.3s;
}

/* step 4 */

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}
.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  /*font-size: 32px;*/
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  color: #363636;
  font-size: 26px;
}

/* Form Container */

/* Form Title */
.form-title {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Form Styling */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 600px;
  margin: 90px auto 50px;
}

/* Input Field */
.input-field {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

/* Adjusting full width for fields */
.full-width {
  width: 100%;
}

/* Date Input Field */
.input-group {
  position: relative;
  width: 100%;
}

.input-group .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: gray;
  pointer-events: none;
}

input::placeholder,
select::placeholder,
select,
input[date] {
  color: #999;
}

/* Part 5 */

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}
.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  /*font-size: 32px;*/
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  color: #363636;
  font-size: 26px;
}

/* Form Container */

p {
  color: #555;
  font-size: 18px;
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.continue-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2784c6; /* Blue color */
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 18px !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 170px; /* Adjust width */
  position: relative;
  margin: 0 auto;
}

.no-btn.continue-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff; /* Blue color */
  color: #2784c6 !important;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 18px !important;
  border: 1px solid #2784c6;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 170px; /* Adjust width */
  position: relative;
  margin: 0 auto;
}

/* Hover Effect */
.continue-btn:hover {
  background: #1c75b7;
}

.continue-btn:hover::after {
  background: #f0f0f0;
}

/* Step 6 */

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}
.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  color: #363636;
  font-size: 26px;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
}

.input-container {
  display: flex;
  justify-content: center;
}

input[type="tel"] {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input::placeholder,
select::placeholder,
select {
  color: #999;
}

/* step 7 */

.continue-btn .elementor-button-content-wrapper {
  flex-direction: row-reverse;
  justify-content: space-between !important;
  width: 100%;
}

.continue-btn svg {
  right: 10px;
  width: 44px !important;
  top: 7px;
  margin-bottom: -2px !important;
}

.continue-btn .elementor-button-content-wrapper {
  align-items: center;
  gap: 10px;
}

.step-title {
  font-family: "Futuru", Sans-Serif;
  font-weight: 500 !important;
  color: #363636;
  font-size: 26px;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
}

/* Form Container */

/* OTP Fields */
.otp-container {
  display: grid;
  justify-content: center;
  gap: 22px;
  width: 100%;
  grid-template-columns: repeat(6, 1fr);
}

.otp-input {
  text-align: center;
  border: 2px solid white;
  font-weight: bolder;
  color: black;
  font-size: 30px !important;
  width: 60px !important;
  height: 64px;
  border-radius: 10px !important;
}

.otp-input.fill {
  border-color: #007bff !important;
  background-color: #fff;
}

/* Empty OTP Box */
.otp-input.empty {
  background: #f0f0f0;
  border: none;
}

.input-container {
  display: flex;
  justify-content: center;
}

input[type="tel"] {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input::placeholder,
select::placeholder,
select {
  color: #999;
}

.resend-text a {
  color: #2784c6;
}

.resend-text {
  color: #222;
  font-family: "Onest", Sans-Serif;
  font-size: 18px;
  font-weight: 400;
}

@media screen and (max-width: 991px) {
  .plan-table {
    width: 730px !important;
  }
}

@media screen and (max-width: 767px) {
  .slider-container,
  .form-container,
  .state-dropdown,
  .plan-table {
    width: 100% !important;
  }
  .mds-stepper__list {
    width: 85% !important;
  }
  .progress-bar-label {
    font-size: 13px;
  }

  .otp-container {
    width: 50%;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
  }
  .no-btn.continue-btn,
  .yes-btn.continue-btn {
    width: 100% !important;
  }

  .preloader {
    left: 46%;
  }
}
@media screen and (max-width: 475px) {
  .progress-bar-label {
    display: none;
    font-size: 10px;
  }
  .active .progress-bar-label {
    display: block !important;
  }
  .mds-stepper__step-progress-track {
    width: 82%;
  }
}

.div-box {
  padding: 30px;
  background: #fff1f1;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}
