.modal__overlay {
  height: 100%;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(7, 5, 5, 0.73);
  z-index: 2;
}
.modal {
  max-width: 536px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* height: 100%; */
  z-index: 10;
  width: 100%;
  background-color: transparent;
}
.modal__container {
  /* height: 8.8rem; */
  height: 100%;
  max-height: 90vh;
  background-color: #fff;
  overflow-y: scroll;
  display: block;
  margin-top: 2.5rem;
  z-index: 7;
  padding-bottom: 5rem;
  border-radius: 2rem;
  justify-content: center;
  padding: 1.2rem 5.2rem 3.6rem;
}
.modal__container::-webkit-scrollbar {
  display: none;
}

.show {
  display: block;
  position: fixed;
}
.show .modal {
  display: block;
  z-index: 5;
}

.show .modal__overlay {
  display: block;
}
.modal__header {
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}
#myForm {
  border-top: 0.1rem solid rgba(0, 0, 0, 0.31);
  padding-top: 2rem;
}

.modal__terms {
  padding: 2.1rem 0 2.1rem 2.8rem;
  height: 42.7rem;
  overflow-y: scroll;
  box-shadow: 0 0 1.2rem 0.2rem rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}
.modal__terms::-webkit-scrollbar {
  display: none;
}
.modal__terms > h1 {
  font-size: 2rem;
  padding: 0 2.8rem 1rem 0;
  font-weight: 600;
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.31);
  color: #000000;
}
.modal__terms > h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
  margin: 1.5rem 0 0.6rem;
  text-transform: capitalize;
  color: #212529;
}
.modal__terms > p {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 3rem;
  /* text-transform: capitalize; */
  padding-right: 1.5rem;
  color: #868e96;
}
.modal__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.agree-btn {
  background: #01934a;
  border-radius: 1rem;
  padding: 1.7rem 7.6rem;
  border: none;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;

  margin-top: 2rem;
  cursor: pointer;
}
.agree-btn:disabled {
  background: #8db6a1;
}
/*  */
.modal__base--container {
  width: 100%;
}
.check {
  font-size: 1.5rem;
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

/* //// */
.checkbox-container {
  display: flex;
  position: relative;
  align-items: baseline;
  cursor: pointer;
  user-select: none;
  font-size: 1.6rem;
  text-transform: capitalize;
  letter-spacing: -0.9px;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.custom-select,
.custom-select-bank,
.custom-select-merchant,
.custom-select {
  position: relative;
  padding: 1.7rem 1.3rem;
  width: 100%;
  color: rgba(84, 69, 69, 0.65);
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 0.1rem solid #967a7a;
}

.select-selected,
.merchant-selected {
  border-radius: 0.5rem;
  border: none;
  outline: none;
  z-index: 8;
  font-size: 16px;
  cursor: pointer;
}
.custom-select.current {
  border: solid 0.1rem #9198d7;
}

.select-items,
.select-id,
.select-merchants,
.office-items,
.gender-items,
.state-items,
.lga-items,
.status-items,
.select-exd-tenors,
.select-tenors {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #f2f2f2;
  overflow: auto;
  max-height: 15rem;
  overflow-y: auto;
  z-index: 8;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border: 0.1rem solid #967a7a;
}
.select-items.current {
  border: solid 0.1rem #9198d7;
}
.select-item,
.select-items div,
.status-item,
.gender-item,
.select-merchants div,
.select-tenors div,
.select-exd-tenors div,
/* #select-id, */
.item,
.lga,
.state,
.office-items div {
  padding: 1.3rem 1.6rem;
  cursor: pointer;

  color: #544545;
}

.select-item:hover,
.select-items div:hover,
.office-item:hover,
.select-items div:hover {
  background: #d9d9d9;
}

.select-items,
.office-items,
.select-id {
  position: absolute;
  background-color: #f9f9f9;
  border-top: none;
  display: none;
  z-index: 999;
}
.office-items {
  display: none;
}
.select-show {
  display: block !important;
}
.select-hide {
  display: none;
}
.show {
  display: block !important;
}
.hide {
  display: none !important;
}
.checkmark {
  position: absolute;
  top: -0.21rem;
  left: -2rem;
  height: 1.35rem;
  width: 1.35rem;
  background-color: #eee;
  border-radius: 4px;
}

.checkbox-container:hover .checkmark {
  background-color: #ccc;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background-color: #01934a;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1.5px;
  width: 0.2rem;
  height: 0.6rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* /// */
/* input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  color: #01934a;
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
  border: 0.15rem solid #000;
  border-radius: 0;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}
input[type='checkbox']::before {
  content: '';
  width: 1.5rem;
  height: 1.5rem;
  transform: scale(0);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  box-shadow: inset 1rem 1rem #01934a;
}
input[type='checkbox']:checked::before {
  transform: scale(1);
} */
.extendedloan_details {
  display: flex;
  flex-direction: column;
}
.form__cta {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 4rem;
}
.form__cta > button:first-child {
  width: 50%;
  padding: 18.6px;
  background: #a6322b;
  border-radius: 10px;
  font-size: 16px;
  border: none;
  color: #fff;
  font-weight: 500;
}
.form__cta > button:last-child {
  border: none;
  color: #fff;
  width: 50%;
  padding: 18.6px;
  background: #01934a;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
}
.extendedloan_details > div {
  margin-bottom: 4rem !important;
}
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Inter";
}
.label {
  color: rgba(9, 6, 6, 0.9);

  font-size: 2rem;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  line-height: 24px;
}

.input__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.input__container:not(:last-child) {
  margin-bottom: 3.8rem;
}
.img {
  position: absolute;
  top: 50%;
  right: 1rem;
}
.resend-text {
  width: fit-content;
  cursor: pointer;
}
#sector {
  padding: 1.7rem 1.3rem;
  border: 0.1rem solid #967a7a;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #000000;
}

.input__container > select {
  appearance: none;
}
.input__container > select > option {
  padding: 1.7rem 1.3rem;
}
.select__icon {
  position: absolute;
  right: 5%;
  top: 43%;
}
.input__container > label,
.choose {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}
#id-type {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}
.loan-finals {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  /* justify-content: space-between; */
}
.loan__details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 6rem;
}
.loan__details--box {
  border-radius: 0.5rem;
  display: flex;
  height: 7.3rem;
  align-items: center;
}

.otpResendText {
  /* font-family: inherit; */
  font-weight: 400;
  color: #01934a !important;
  font-family: inherit;
}
.otp-cta {
  display: flex;
  font-family: "Inter";
  font-weight: 400;
  margin-top: 1rem;
  gap: 4px;
}
.loan__info,
.loan__finals,
#myForm2 {
  display: none;
}
#date,
#customSelectETenure {
  margin-top: 1.5rem;
}
#extendedLoanForm2 {
  display: flex;
  flex-direction: column;

  /* gap: 3.2rem; */
}
.extendedLoanStep2Next {
  margin-top: auto;
}
.spinnerWrapper {
  display: none;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 5, 5, 0.4);
}

.spinner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  height: 80px;
  width: 80px;
  background: #ffff;
  padding: 3px;
  gap: 3px;
}
.spinner > div:nth-child(1) {
  background-color: #01934a;
  animation-name: scaleAnimation;
  animation-duration: 1s;
  animation-delay: 0.4s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.spinner > div:nth-child(2) {
  background-color: #054324;
  animation-name: scaleAnimation;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.spinner > div:nth-child(3) {
  background-color: #9ff7cb;
  animation-name: scaleAnimation;
  animation-duration: 1s;
  animation-delay: 0.7s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.spinner > div:nth-child(4) {
  background-color: #003569;
  animation-name: scaleAnimation;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
@keyframes scaleAnimation {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(0.9);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.details__info {
  display: flex;
  align-items: center;
  background: #eeeeee;
  height: 100%;
  width: 100%;
  justify-content: space-between;
  font-size: 1.8rem;
  padding: 0 1.8rem;
  font-weight: 600;
  color: rgba(41, 39, 39, 0.8);
}
.details__bar {
  display: block;
  height: 100%;
  width: 1.2rem;
  background-color: #b6bad8;
}
.details__info > span {
  color: #979191;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.9px;
}
.active {
  background-color: #556aeb;
}
.input__container > input,
#city,
.input__container > select {
  width: 100%;
  padding: 1.7rem 1.3rem;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  color: #000;
  font-weight: 500;
  font-family: inherit;
  border: 0.1rem solid #967a7a;
}
.option-icon {
  top: 60%;
  position: absolute;
}
.input__container > select {
}
#city {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.validation-message {
  margin-top: 0.6rem;
}
.resend-text {
  color: #01934a !important;
  text-decoration: underline;
}
.modalCloseBtn {
  border: none;
  background: none;
  cursor: pointer;
  position: absolute;
  top: 5rem;
  right: 3%;

  border-radius: 0.5rem;
  z-index: 9;
}
.modalCloseBtn ion-icon {
  font-size: 3.8rem;
  color: #495057;
}
.modalBackBtn {
  border: none;
  background: none;
  cursor: pointer;
  position: absolute;
  top: 5rem;
  left: 7%;
  border-radius: 0.5rem;
  z-index: 9;
}
.modalBackBtn > ion-icon {
  font-size: 3.8rem;
  color: #495057;
}
.img {
  display: none;
}
.input__container > input:focus {
  outline: none;
  transition: 0.2s;
  border: 0.1rem solid #01934a;
}

.input__container > p {
  font-weight: 700;

  color: rgba(84, 69, 69, 0.62);
  font-size: 1.4rem;
}
.input__container > p > span {
  color: #9d0c0c;
}
.loan__months {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.3rem;
}
#s-proceed {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Hide the default radio button */
.loan__month {
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;

  gap: 0.5em;
}
.loan__month:not(:last-child) {
  margin-bottom: 1.7rem;
}
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  color: #01934a;
  width: 0.00001px;
  height: 0.00001px;
  border: 0.2rem solid #01934a;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}
input[type="radio"]::before {
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  transform: scale(0);
  background-color: #01934a;
}
input[type="radio"]:checked::before {
  transform: scale(1);
}
#maxLoanAmountMessage {
  color: #950a0a;
  font-size: 1.6rem;
  letter-spacing: -0.9px;
  margin-top: 5px;
}
/* action modals */
.submission__modal {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 2rem;
  transform: translateY(-100%);
  z-index: 12;
}
.submission__modal--container {
  width: 39rem;
  text-align: center;
  gap: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background-color: #ffff;
  padding: 3rem;
}
.submission__modal--container > h1 {
  color: rgba(41, 39, 39, 0.8);
  font-family: Inter;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}
.submission__modal--container > p {
  color: rgba(41, 39, 39, 0.8);
  font-family: Inter;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.submission__modal-cta {
  display: flex;

  align-items: center;
  gap: 2rem;
}
.submission__modal-cta > button {
  border: none;
  padding: 1.2rem 4.1rem;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
  border-radius: 0.5rem;
}
#cancel-yes {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 8px;
  background: linear-gradient(0deg, #01934a 0%, #01934a 100%),
    linear-gradient(0deg, #be8484 0%, #be8484 100%), #be8484;
}
#cancel-no {
  background: #a6322b;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 8px;
}
.display__modal #approved {
  transform: translate(-50%, -50%);
  top: 60%;
  left: 50%;
}
.modal-actions__overlay {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.74);
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 11;
}
.display__modal-cancel .modal-actions__overlay {
  display: block;
}
.display__modal .modal-actions__overlay {
  display: block;
}
.display__modal-cancel #cancel {
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.display__modal #approved {
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.upload-doc {
  padding: 24px;

  font-weight: 600;
  line-height: 24px;
  border: 2px dashed #d6cccc;
  text-align: center;
}
.upload-doc > p {
  color: rgba(41, 39, 39, 0.8);
  font-size: 18px;
  white-space: wrap;
}
.upload-doc > img {
  width: 96px;
  height: 64px;
  /* flex-shrink: 0; */
}
.path_header {
  display: flex;
  align-items: center;
  margin-bottom: 38px;
}
.form_footer {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 30px;
}
.form_footer > button {
  width: 50%;
  align-items: center;
}
.cancel-btn {
  color: #fff;
  font-size: 16px;
  background: #a6322b;
  font-style: normal;
  border-radius: 10px;
  border: none;
  padding: 17px;
  height: 100%;
  font-weight: 500;
  margin-top: 2rem;
}
.path_header > h1 {
  font-size: 20px;
  color: rgba(9, 6, 6, 0.9);
  font-weight: 600;
  line-height: 24px;
}
.path_selectWrapper {
  display: flex;
  gap: 15px;
  margin-bottom: 3.2rem;
}
.path_select > label {
  color: #292727;
  display: block;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 2rem;
}
.loan-timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.loan-timeline {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.path_header {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.loan-timeline-circle {
  position: relative;
}
.loan-timeline-circle:after {
  content: "";
  display: block;
  width: 3px;
  position: absolute;
  bottom: 79%;
  left: 39%;
  height: 38px;
  background: rgba(0, 53, 105, 0.75);
}
.last:after {
  height: 0px;
  background: transparent;
}
.loan-timeline > p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1.6rem;
  letter-spacing: -0.9px;
}
#date {
  width: 100%;
  padding: 1.8rem;
  font-family: inherit;
  font-family: inherit;
  /* margin-bottom: 2.5rem; */
}
#documentLabel,
.workLabel,
.upload-doc > p,
#debitLabel {
  max-width: 100%;
}
.doc_warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #fab005;
  background: #fff3bf;
  margin: 20px 0;
  border-radius: 4px;
}
.doc_warning > svg {
  height: 20px;
}
.repay_details-box {
  border: 1px solid #003569;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.document_warningText {
  text-align: center;
  color: #fab005;
  letter-spacing: -0.9px;
  font-size: 16px;
  font-weight: 500;
  /* line-height: 22px; */
  letter-spacing: -0.5px;
  text-transform: capitalize;
}
.repayment_text > strong {
  color: green;
  text-decoration: underline;
}
@media screen and (max-width: 576px) {
  form {
    gap: 1.6rem;
  }
  .document_warningText {
    font-size: 16px;
    margin: 10px 0;
  }
  .modal__container {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  .loan__months {
    margin-top: 1.8rem;
  }
  input[type="radio"] {
    padding: 0.8rem;
  }
  #documentLabel,
  .workLabel,
  .upload-doc > p,
  #debitLabel {
    /* max-width: 30%; */
    display: block;
    font-size: 1.4rem;
  }
  input[type="radio"]::before {
    height: 0.8rem;
    width: 0.8rem;
  }
  .loan__month:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .loan__month {
    font-size: 1.4rem;
  }
  .modalCloseBtn {
    top: 7rem;
    right: 7%;
    font-size: 2rem;
    height: 2.5rem;
  }
  .modalBackBtn {
    font-size: 1.6rem;
    top: 7rem;
    height: 2.5rem;
  }
  .modalBackBtn > ion-icon {
    height: 3rem;
    width: 3rem;
  }
  .otp-cta {
    margin-top: 1rem;
    flex-wrap: wrap;

    gap: 7px;
  }
  .modal__terms {
    text-align: justify;
    padding: 2.1rem 0 1.8rem 2rem;
  }
  .modal__terms > h1,
  .modal__terms > h2 {
    font-size: 1.8rem;
  }
  .modal__terms > h2 {
    /* margin: 1rem 0; */
    /* margin-bottom: 0; */
  }
  .modal__terms > p {
    padding-right: 1.8rem;
  }
  .checkmark {
    top: unset;
  }
  .checkbox-container {
    font-size: 1.4rem;
    align-items: flex-end;
  }
  .logo {
    width: 8rem;
    object-fit: contain;

    height: 6.2rem;
  }
  .modal__terms > p {
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.8;
  }
  .date_container {
    margin-bottom: 1.5rem;
  }
  #date {
    padding: 1.4rem 1.3rem;
  }
  .input__container > label,
  .choose,
  .label,
  #id-type {
    font-size: 1.4rem;
  }

  .modalCloseBtn ion-icon {
    height: 3rem;
    width: 3rem;
  }
  .input__container > input,
  .custom-select,
  .custom-select-bank,
  .custom-select-merchant {
    font-size: 1.4rem;
    padding: 1.4rem 1.3rem;
  }
  .input__container > input::placeholder {
    font-size: 1.4rem;
  }
  .loan__details--box {
    height: 5.5rem;
  }
  .details__info {
    font-size: 1.4rem;
  }
  input:focus {
    outline: none;
    border: solid 0.15rem #01934a;
    transition: 0.1s;
  }
  .input__container:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .select-selected,
  .merchant-selected {
    font-size: 1.4rem;
  }
  .agree-btn {
    padding: 1.4rem 5rem;
  }
  .input__container > p {
    font-size: 1.2rem;
  }
  .submission__modal--container {
    padding: 2rem 3rem;
    gap: 1.5rem;
    max-width: 30rem;
  }
  .submission__modal--container img {
    height: 5.5rem;
  }
  .submission__modal {
    width: 100%;
  }
  .submission__modal h1 {
    font-size: 2.2rem;
  }
  .submission__modal-cta > button {
    padding: 1rem 2.2rem;
    font-size: 1.4rem;
  }
  .modal {
    padding: 1.2rem 1.5rem 2.6rem;
  }
}

@media screen and (max-width: 576px) {
}
@media screen and (max-width: 389px) {
}
