/* input mobile otp fields,modal popup ad new custom class to body div */
.modal-content.otp-dialog {
  padding: 20px;
  display: flex;
  justify-content: center;
  position: relative;
  border-radius: 25px;
  background: #FFFFFF;
}
.modal-content.otp-dialog h2, a, .success-txt h3, .error-txt h3 {
  color: #785aff;
  padding: 5px;
}
.modal-content.otp-dialog .otp-verify, .otp-reset-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  margin: 10px 5px;
}
.modal-content .otp-verify button {
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 11px 32px;
  border-radius: 20px;
  background-color: #785aff;
  font-size: 22px;
  margin-top: 0;
}

/* input mobile otp fields, when modal popup opens, ad new class to the specific mobile otp popup*/ 
.modal-dialog {
  margin: 3rem;
}
/* .modal-content.otp-dialog {
  border-radius: 25px;
  background-color: aliceblue;
} */
.modal-otp-fields {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}
.modal-otp-fields .otp-field {
  display: flex;
}

.modal-otp-fields .otp-field input {
  width: 60px;
  height: 72px;
  /* font-size: 32px; */
  font-size: 23px;
  padding: 0 3px;
  text-align: center;
  border-radius: 10px;
  margin: 10px;
  border: none;
  /* font-weight: bold; */
  /* color: #fff; */
  /* color: #785aff; */
  color: black;
  outline: none;
  transition: all 0.1s;
  box-shadow: 0px 8px 16px rgba(30, 30, 31, 0.08);

}

.modal-otp-fields .otp-field input:focus {
  border: 2px solid #785aff;
  /* box-shadow: 0 0 2px 2px #a527ff6a; */
}

#timer .disabled {
  opacity: 0.5;
}

.modal-otp-fields .space {
  margin-right: 1rem !important;
}

.otp-dialog .btn-close {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  margin-right: 2px;
  position:absolute !important;
  top:1rem;
  right:1rem;
  /* color: #785aff; */
}
.otp-dialog .btn-close:hover { 
  border: 2px solid #785aff; 
}
#timer .resend-otp {
  margin-top: 2rem;
  color: black;
  font-size: 1.5rem;
} 
.otpdialog-closemodal {
  display: none;
}
.modal-content.otp-dialog .otp-modal h2{
  margin: 0;
}
.modal-content.otp-dialog .otp-modal h5 {
  text-align: center;
  margin: 20px 0 20px;
  font-size: 18px;
}

.otp-content{
  margin: 25px 25px;
}
.ui-dialog .otp-modal-close.ui-dialog-titlebar-close{
  color: #717175;
  opacity: 1;
  top: 1%
}
.otp-reset-link button.generate-otp{
  font-size: 18px;
  margin: 0;
  padding: 0;
}

/*  success msg modal */
.modal-content.success-dialog, .modal-content.error-dialog {
  border-radius: 25px;
  /* background-color: aliceblue; */
  padding: 2.5rem;
}
.modal-content.success-dialog .sucess-img, .success-btn, .modal-content.error-dialog .error-img, .error-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content.success-dialog .success-txt, .modal-content.error-dialog .error-txt{
  font-weight: 600;
  font-size: 32px;
  margin: 0 30px;
  /* padding: 2rem 3rem; */
}
.modal-content.success-dialog .success-btn, .modal-content.error-dialog .error-btn {
  font-size: 22px;
}
.otp-modal .otp-reset-link {
  font-size: 18px;
  font-weight: 500;
}
/* .otp-verify-modal .modal-dialog {
  margin: auto;
} */
.modal-dialog.otp-verify-modal {
  width: 470px;
  margin: auto;
  top: 21%;
  display: block;
}
.generate-otp{color: #785aff !important;}

.success-txt h3, .error-txt h3 {
  color: #785aff;
  padding: 5px;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.4;
  max-width: 90%;
}
.success-txt h4, .error-txt h4 {
  max-width: 85%;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
}
#close-upsell{cursor: pointer;}
.success-btn, .sucess-img, .error-img,.error-btn{
  margin: 22px 22px;
  }
  .modal-body .error-message p{ 
    color: #FB6060;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    margin: 3px;
  }
  #ql-upsell-verified a{color: #fff;}
@media screen and (max-width: 767px){
  .modal-otp-fields .otp-field input {
    width: 40px;
    height: 72px;
    /* font-size: 32px; */
    font-size: 23px;
    padding: 0 3px;
    text-align: center;
    border-radius: 10px;
    margin: 5px;
    border: none;
    color: black;
    outline: none;
    transition: all 0.1s;
    box-shadow: 0px 8px 16px rgba(30, 30, 31, 0.08);
  }
  .modal-content.otp-dialog .otp-modal h5{
    font-size : 16px;
  }
  .modal-content.otp-dialog h2 {
    color: #785aff;
    padding: 5px;
    font-size : 24px;
  }
  .otp-reset-link button.generate-otp {
    font-size: 16px;
  }
  .modal-content .otp-verify button {
    padding: 10px 20px;
    font-size: 20px;
  }
  .success-txt h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .modal-content.success-dialog .success-txt {
    margin: 0px 0px;
  }
  .success-btn .verify{
    padding: 5px 19px;
    font-size: 20px;
  }
  .modal-body .error-message p{ 
    font-size: 11px;
    line-height: 16px;
    letter-spacing: -0.033px;
  }
}