@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.payment2_section {
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
  background: #fff;
  font-family: "Inter", sans-serif;
}

.payment2_sec_sub {
  height: 95%;
  overflow: scroll;
}

.payment2_sec_sub::-webkit-scrollbar {
  display: none;
}

.payment2_sec_sub {
  padding-bottom: 20px;
}

.payment2_main_section {
  background: radial-gradient(circle,
      rgba(9, 21, 121, 0.7959558823529411) 0%,
      rgba(255, 255, 255, 1) 100%);
}

.main_upi_page {
  height: 100%;
  display: flex;
  justify-content: center;
  background: #97a3c6;
}

.upi_payment_container {
  background: linear-gradient(180deg, #4a7bff 0%, #203e8f 115%);
  padding: 20px 0 25px;
}

.upi_title h1 {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

.upi_title {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 15px 10px;
}

.upi_title a {
  display: flex;
}

.acc_amt_pay {
  padding: 25px 15px 25px;
  position: relative;
}

.acc_amt_pay h2 {
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: #c5d5ff;
}

.acc_amt_pay h3 {
  font-size: 30px;
  font-weight: 600;
  text-align: left;
  color: #fff;
  padding: 6px 0;
}

.hand_img {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-65px);
}

.upi_paym_qr_sec {
  background: #fff;
  padding: 20px 16px 0px;
  position: relative;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  /* height: calc(100% - 25%); */
  margin: -27px 0 0;
}

.qr_section_pay {
  padding: 15px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  gap: 10px;
}

.paym_qr_ele h5 {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.paym_qr_ele h6 {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: #282828;
}

.paym_qr_ele p {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: #aaaaaa;
}

.paym_qr_ele p span {
  font-weight: 600;
  color: #d4574f;
}

.qr_scanner {
  box-shadow: 0px 0px 12px 0px #00000026;
  background: #ffffff;
  padding: 10px 11px;
  border-radius: 5px;
}

.qr_scanner img {
  max-width: 136px;
}

.paytm_btn_bi {
  width: 100%;
  background: #3c67d9;
  padding: 12px;
  border-radius: 8px;
  border: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  cursor: pointer;
}

/* add class */
.pay_btn_disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.active_upiapp_bor {
  border: 1px solid #3c67d9 !important;
  transition: all 0.5s;
}

.paym_upi_apps h4 {
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: #000;
}

.paym_upi_apps {
  padding: 5px 0 0px;
}

.paym_upi_apps .app_paylist {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 0px;
}

.app_paylist li {
  box-shadow: 0px 0px 4.3px 0px #0000001f;
  background: #ffffff;
  border-radius: 4px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  border: solid 1px transparent;
}

.app_paylist li span {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.payment2_paynow {
  width: 100%;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.payment2_paynow_btn {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 10px 20px 10px;
  background: #fff;
}

@media (min-width: 280px) and (max-width: 320px) {
  .acc_amt_pay h3 {
    font-size: 24px;
  }

  .upi_paym_qr_sec {
    padding: 40px 16px 30px;
  }
}

@media (min-width: 590px) {
  .payment2_main_section {
    overflow: hidden;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  @media (max-width: 590px) {
    .payment2_section {
      border-radius: unset;
    }
  }
}

@media (min-width: 590px) {
  .payment2_section {
    max-height: 95dvh;
    height: unset;
  }
}

@media (min-width: 810px) {
  .payment2_section {
    max-height: 95dvh;
    height: unset;
  }
}

@media (min-width: 1100px) {
  .payment2_section {
    height: unset !important;
    max-height: 95vh !important;
    min-height: unset !important;
  }
}

/* sucess---failure */
.payment2_sec_scss_fail {
  height: 100%;
  padding-bottom: 10px;
}

.pay2_sucs_fail_comm {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay2_sucs_fail_comm>img {
  width: 16px;
  height: 16px;
}

.payment2_pay_com {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 10px;
}

.payment2_pay_com h5 {
  font-size: 16px;
  font-weight: 500;
}

.payment2_pay_com p {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.payment2_comm_trans {
  border: 1px solid #e5e7ea;
  box-shadow: 0px 4px 11px 0px #00000000;
  padding: 12px 16px 12px;
  border-radius: 10px;
}

.pay2_transection_con {
  border-bottom: 1px solid #f1f1f1;
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
}

.payment2_comm_trans ul {
  list-style-type: none;
}

.payment2_comm_trans ul li:last-child {
  border-bottom: none;
}

.pay2_trans_sp_lef {
  color: #212223;
  font-size: 12px;
  font-weight: 400;
}

.pay2_trans_sp_rig {
  font-size: 14px;
  font-weight: 500;
  color: #212223;
}

.pay2_button_sucess button {
  background: #3c67d9;
  padding: 12px;
  border-radius: 8px;
  border: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  cursor: pointer;
  width: 100%;
}

.payme2_comm_sucess_fai {
  background: #fff;
  padding: 30px 16px 10px;
  position: relative;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  margin: -27px 0 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

span.pay2_trans_sp_rig::before {
  content: attr(data-value);
}