:root {
  --primary-color: #12395d;
  --teal-color: #536f8a;
  --background-white: #ffffff;
  --background-less-white: #f4f4f5;
}

* {
  box-sizing: border-box;
}
.pac-container:after {
  /* Disclaimer: not needed to show 'powered by Google' if also a Google Map is shown */
  background-image: none !important;
  height: 0px;
}

body {
  background: linear-gradient(
    to bottom,
    #12395d 0%,
    #12395d90 76%,
    #12395d80 100%
  );
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--primary-color);
}

.wrapper {
  width: 55rem;
  margin: 0 auto;
  padding: 2rem 4rem;
  background-color: var(--background-white);
  box-shadow: 0 4px 4px #00000025, -2px -3px 12px #00000025;
  border-radius: 15px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.icons_svg {
  width: 3rem;
  height: 3rem;
  /* fill: #00959C; */
}

p {
  margin: 0;
}

button {
  font-family: "Poppins", sans-serif;
}

.other_one {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.input_fields_box {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.d_flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.content_center {
  justify-content: center;
}

.items_center {
  align-items: center;
}

.flex_col {
  flex-direction: column;
}

.text_start {
  text-align: start;
}

.welcome_info_box {
  color: #ffffff;
  background: linear-gradient(to bottom, #00959c 0%, #003436 100%);
  padding: 4rem;
  border-radius: 10px;
  text-align: center;
}

.welcome_terms_condition {
  background-color: var(--background-less-white);
  border-radius: 10px;
  padding: 1.5rem 4rem;
}

.welcome_terms_condition .contents {
  display: flex;
  gap: 2rem;
  align-items: center;
  /* justify-content: center; */
}

.header_teal {
  color: var(--teal-color);
}

.welcome_next_button {
  text-align: center;
}

.heading {
  font-weight: 500;
  margin-bottom: 0;
}

.btns {
  background-color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  color: #ffffff;
  border-radius: 25px;
  /* font-weight: 600; */
  cursor: pointer;
}

.btns:disabled {
  background-color: #d9d9d9;
}

.back {
  background-color: #d9d9d9;
  transition: background-color 0.3s ease;
}

.back:hover {
  background-color: var(--primary-color);
}

.input_title {
  font-weight: 500;
}

.progress_bar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  height: 0.5rem;
}

.progress_bar_background {
  position: absolute;
  width: 100%;
  /* top: 0; */
  left: 0;
  height: 0.5rem;
  height: 100%;
  background-color: #d9d9d9;
  border-radius: 10px;
  top: 0.35rem;
  z-index: 1;
}

.progress_fill {
  position: absolute;
  left: 0;
  top: 5px;
  width: 0%;
  height: 0.5rem;
  background-color: var(--teal-color);
  border-radius: 10px;
  z-index: 2;
  transition: width 0.5s ease;
}

/* .progress_bar::after {
      content: "";
      width: 100%;
      height: 0.5rem;
      background-color: #d9d9d9;
      position: absolute;
      border-radius: 10px;
      top: 0.35rem;
    } */

.step {
  position: relative;
  z-index: 3;
}

.step_number {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 100%;
  background-color: #d9d9d9;
  /* background-color: #536f8a; */
}

.completed .step_number {
  background-color: #4caf50; /* Green background for completed steps */
  color: white;
}

.step_number svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #fff;
  outline: 1px solid var(--teal-color);
  border-radius: 100%;
  z-index: 3;
  display: none;
}

.step_label {
  font-size: small;
  font-weight: 500;
  width: 100px;
  position: absolute;
  left: -20px;
  top: 20px;
}

.step {
  position: relative;
}

.input_icons {
  height: 5rem;
  width: 5rem;
}

.input_label {
  border: 2px solid #536f8a20;
  border-radius: 15px;
  padding: 3rem;
  width: 12rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.input_label:hover {
  border: 2px solid var(--teal-color);
  box-shadow: 4px 4px 4px #536f8a20;
  background-color: #536f8a20;
}

.input_range {
  min-width: 80%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  background: linear-gradient(
    to right,
    #7fc9cd 0%,
    #7fc9cd 0%,
    #ddd 0%,
    #ddd 100%
  );
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.input_range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background-color: var(--teal-color);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}

.input_range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: var(--teal-color);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}

.range_output {
  font-weight: 500;
  color: var(--primary-color);
  background-color: #536f8a80;
  width: auto;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.range_label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.yes_no_box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.yes_no_label_option {
  display: flex;
  height: 3rem;
  min-width: 25%;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  border-radius: 25px;
  background-color: #d9d9d950;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.options {
  display: flex;
  height: 3rem;
  width: 9rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  border-radius: 25px;
  background-color: #d9d9d950;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.yes_no_label_option:hover,
.options:hover {
  border: 2px solid var(--teal-color);
  box-shadow: 4px 4px 4px #536f8a20;
  background-color: #536f8a20;
}

.input_field {
  padding: 1rem 2rem;
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid transparent;
  background-color: #536f8a20;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  transition: border-color 0.3s ease;
  width: 100%;
  height: 100%;
  /* width: 200px; */
}

.input_field.error {
  border: 2px solid #f44336;
  color: #f44336;
}

.error_msg,
.licence_error_msg,
.dob_error_msg {
  display: none;
  position: absolute;
  bottom: -20px;
  color: #f44336;
}

.otp_error_msg {
  display: none;
}

#submit_btn_final {
  display: none;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.input_field.single {
  width: 50%;
}

.input_field:focus {
  border: 2px solid var(--teal-color);
  outline: none;
}

.lenders_available {
  display: flex;
  gap: 2rem;
}

.lender_option {
  background-color: #536f8a10;
  border: 2px solid transparent;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  width: 25rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  transition: border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.lender_option:hover {
  background-color: #536f8a20;
  border: 2px solid var(--teal-color);
  box-shadow: 4px 4px 4px #536f8a20;
}

.logo_box {
  display: flex;
  /* flex-direction: row; */
  /* align-items: center; */
  justify-content: center;
}

.lenders_img_wrapper {
  /* width: 12rem;
      margin: auto; */
  width: 150px;
  height: 50px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lenders_img_wrapper > img {
  /* width: 100%;
      height: 100%;
      object-fit: contain; */
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.lenders_accordion_button {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--teal-color);
  font-size: 0.8rem;
  margin-top: 1rem;
  transition: font-weight 0.3s ease, color 0.3s ease;
}

.lenders_accordion_button:hover {
  color: #121e28;
  font-weight: 500;
}

ul {
  padding-left: 0;
  margin: 0;
}

li {
  list-style: none;
  margin: 0;
}

.info_list > li {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2rem;
}

.loan_features > li {
  color: #555;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2rem;
  display: flex;
  gap: 2px;
  justify-content: flex-start;
  align-items: center;
}

.loan_features > li > img {
  width: 1rem;
  height: 1rem;
}

/* input[type="file"] {
      display: none;
    } */
.file_upload_field {
  background-color: #cccccc50;
  border: none;
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.bg_white {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 5px;
}

.loan_info {
  margin-top: 0.5rem;
}

.more_loan_info {
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: 0.25rem;
}

.field_label {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  width: 40%;
  position: relative;
}

.upload_fields > label {
  font-weight: 500;
  margin-bottom: 2px;
}

.drag_drop {
  /* background-color: #ccc; */
  /* padding: 2rem; */
  width: 20rem;
  height: 10rem;
  border-radius: 10px;
  border: 2px dashed #536f8a50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  justify-content: center;
}

.drag_over {
  border: 2px dashed var(--teal-color);
  background-color: #536f8a20;
  display: flex;
  justify-content: center;
}

.file_error {
  border: 2px dashed #f44336;
  background-color: #f4433620;
  color: #f44336;
  display: flex;
  justify-content: center;
}

.reset_drag_drop {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: none;
}

.reset_drag_drop > svg:hover {
  fill: #f44336;
}

.upload_action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.upload_action {
  color: #555555;
  font-weight: 500;
  font-size: small;
}

.upload_action > span > a {
  color: #343998;
  text-underline-offset: 2px;
}

.uploaded_file_name {
  font-size: small;
  font-weight: 500;
  width: 90%;
  overflow: hidden;
  text-wrap: nowrap;
}

.otp_buttons {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
  color: var(--teal-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.otp_buttons:hover {
  background-color: #536f8a20;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}

.more_loan_info {
  display: none;
}

.other_income_fields,
.trade_fields,
.other_gst_fields,
.img_format,
.pdf_format {
  display: none;
}

.selected {
  background-color: #536f8a20;
  border: 2px solid var(--teal-color);
}
.estimated_rates_head_toogle_buttons {
  text-align: start;
}
.freq_button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: inherit;
}

.freq_button:hover,
.freq_button.active {
  background-color: var(--background-white);
  outline: 1px solid #00959c20;
}

.estimated_rates_content {
  background-color: #536f8a10;
  border: 1px solid #536f8a20;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flex_repayment_row {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  gap: 1rem;
}

.estimated_range {
  display: flex;
  flex-direction: row;
  font-weight: 700;
  font-size: 1.5rem;
}

.estimated_row {
  width: 100%;
}

.estimated_row p {
  font-size: 11px;
  text-align: left;
}

.estimate_wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.loan_input {
  display: flex;
  /* flex-wrap: wrap; */
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}

.loan_update {
  width: 100%;
  background-color: #536f8a10;
  border: 1px solid #536f8a20;
  border-radius: 10px;
  padding: 1.5rem;
}

.loan_update strong {
  font-size: 1.5rem;
}

.balloon_popup {
  background-color: #536f8a30;
  padding: 3px;
  border-radius: 3px;
  cursor: pointer;
}

.balloon_popup_content {
  display: none;
}

.modal_bg {
  position: fixed;
  background-color: #00000050;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
}

.modal_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 500px;
  /* overflow: auto; */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 10px #00000050, -4px -4px 10px #00000050;
  cursor: pointer;
  text-align: end;
}

.close_modal {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.close_modal:hover {
  fill: red;
}

.pdf_view_box::-webkit-scrollbar {
  appearance: none;
  --webkit-appearance: none;
  width: 10px;
}
.pdf_view_box::-webkit-scrollbar:horizontal {
  display: none;
}
.pdf_view_box::-webkit-scrollbar-thumb {
  background-color: #ccc;
  width: 10px;
  border-radius: 25px;
}

.pdf_view_box {
  width: 100%;
  height: 90%;
  overflow: auto;
}

/* .modal_box::-webkit-scrollbar {
  appearance: none;
  --webkit-appearance: none;
  width: 10px;
}
.modal_box::-webkit-scrollbar-thumb {
  background-color: #ccc;
  width: 10px;
  border-radius: 25px;
} */

/* .pdf_view_box {
  width: 100%;
  height: 100%;
} */

.balloon_section {
  height: 2rem;
}

@media screen and (max-width: 768px) {
  .modal_box {
    width: 95vw;
  }

  .balloon_section {
    height: auto;
  }

  .loan_input,
  .flex_repayment_row {
    flex-wrap: wrap;
  }
  .wrapper {
    /* margin-right: 1rem;
            margin-left: 1rem; */
    padding: 1rem !important;
    width: 100% !important;
  }

  .welcome_info_box,
  .welcome_terms_condition {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .welcome_terms_condition .contents {
    gap: 1rem;
  }

  .input_field.single {
    width: 100%;
  }

  .input_label {
    padding: 1rem;
    width: 8rem;
  }

  /* .input_field {
            flex: 1;
        } */

  .d_flex {
    gap: 1rem;
  }

  .yes_no_label_option,
  .options {
    width: 100%;
  }

  .lender_option {
    width: 100%;
    /* margin-inline: 0.5rem; */
  }

  .field_label {
    width: 100%;
    flex: none;
  }

  .step_label {
    display: none;
  }
}
