.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: 53.6rem;
  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;
  padding: 1rem 0;
}
#myForm {
  border-top: 0.1rem solid rgba(0, 0, 0, 0.31);
  padding-top: 2rem;
}
/* .modal__header > img {
  width: 11.7rem;
  height: 9rem;
} */
.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;
  margin: 1.5rem 0;
  color: rgba(0, 0, 0, 0.67);
}
.modal__terms > p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2.3rem;
  padding-top: 1.5rem;
  padding-right: 1.5rem;
  color: rgba(0, 0, 0, 0.38);
}
.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;
  /* gap: 1rem; */
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.custom-select,
.custom-select-bank,
.custom-select-merchant {
  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-merchants,
.select-tenors {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #f2f2f2;
  overflow: auto;
  max-height: 10rem;
  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,
.select-merchants div,
.select-tenors div {
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  color: #544545;
}

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

.select-items {
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-top: none;
  display: none;
  z-index: 999;
}

.select-hide {
  display: none;
}

.select-show {
  display: block;
}

.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);
} */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  font-family: "Inter";
}

.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;
}
.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 {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #01934a;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.details__info {
  display: flex;
  align-items: center;
  background: #eeeeee;
  height: 100%;
  width: 100%;
  font-size: 1.8rem;
  padding: 0 1.4rem;
  font-weight: 600;
  color: rgba(41, 39, 39, 0.8);
}
.details__bar {
  display: block;
  height: 100%;
  width: 1.2rem;
  background-color: #b6bad8;
}
.active {
  background-color: #556aeb;
}
.input__container > input {
  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;
}
.validation-message {
  margin-top: 0.5rem;
}
.resend-text {
  color: #01934a !important;
  text-decoration: underline;
}
.modalCloseBtn {
  border: none;
  background: none;
  cursor: pointer;
  position: absolute;
  top: 5rem;
  right: 3%;
  background: #01934a;
  border-radius: 0.5rem;
  z-index: 9;
}
.modalCloseBtn ion-icon {
  height: 2.7rem;
  width: 3rem;
  color: #fff;
}
.img {
  display: none;
}
.input__container > input:focus {
  outline: none;
  transition: 0.2s;
  border: 0.1rem solid #01934a;
}

.input__container > p {
  font-weight: 700;
  letter-spacing: 0.1rem;
  margin-top: 1.3rem;

  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: 1rem;
  height: 1rem;
  border-radius: 50%;
  transform: scale(0);
  background-color: #01934a;
}
input[type="radio"]:checked::before {
  transform: scale(1);
}
/* 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-cta {
  display: flex;

  align-items: center;
  gap: 2rem;
}
.submission__modal-cta > button {
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
}

.display__modal #approved {
  transform: translate(-50%, -50%);
  top: 60%;
  border: 0.1rem solid #000;
  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%;
  border: 0.1rem solid #000;
  left: 50%;
}

@media screen and (max-width: 576px) {
  form {
    gap: 1.6rem;
  }
  .modal__container {
    padding: 2.5rem;
  }
  .loan__months {
    margin-top: 1.8rem;
  }
  input[type="radio"] {
    padding: 0.8rem;
  }
  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%;
  }
  .otp-cta {
    margin-top: 1rem;
    flex-wrap: wrap;

    gap: 7px;
  }
  .modal__terms {
    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.2rem;
    align-items: flex-end;
  }
  .modal__terms > p {
    font-size: 1.25rem;
  }
  .input__container > label,
  .choose,
  #id-type {
    font-size: 1.4rem;
  }
  .modal__header > img {
    height: 7rem;
  }
  .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.8rem 2.6rem;
  }
}

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