@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;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.payment4_section {
  font-family: "Inter", sans-serif;
}
.payment4_main_section {
  background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(214,214,214,1) 100%);
}

.payment4_section {
  height: 100vh;
  margin: auto;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
  background: #fff;

}
.payment_4_sec_sub {
  height: 95%;
  overflow: scroll;
}
.payment_4_sec_sub::-webkit-scrollbar {
  display: none;
}

.upi_paym_title {
  background: linear-gradient(
    180.19deg,
    #dcd7ff 28.05%,
    rgba(220, 215, 255, 0) 83.81%
  );
  padding: 15px 15px 0;
}
.upi_title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.upi_title a {
  position: absolute;
  left: 0px;
}
.upi_pay_word {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #201c3e;
}
.amt_paym_balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
}
.upi_amt_head {
  font-size: 14px;
  font-weight: 500;
  color: #201c3e;
}
.upi_amt_valu {
  font-size: 24px;
  font-weight: 700;
  color: #201c3e;
}
.upi_scann_con {
  background: #f6f5fd;
  display: flex;
  border-radius: 8px;
  padding: 10px 30px 10px 10px;
  gap: 10px;
  align-items: center;
}
.acc_amt_pay {
  padding: 0 0 10px;
  margin: 0 15px;
  border-bottom: 1px solid #edeaff;
}
.scann_and_pay {
  font-size: 16px;
  font-weight: 600;
  color: #201c3e;
  text-align: left;
  padding: 0 0 5px;
}
.pay_scann_content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pay_scanner {
  border: 0.8px solid #d4cff4;
  padding: 4px 4px 0px;
  border-radius: 4px;
}
.pay_scanner img{
  width:100px;
}
.scann_cont1 {
  font-size: 13px;
  font-weight: 400;
}
.scann_cont2 {
  font-size: 12px;
  font-weight: 400;
  color: #8885a3;
}
.scann_cont2 span {
  font-size: 14px;
  font-weight: 600;
  color: #201c3e;
}

.payment4_upi_section {
  padding: 10px 15px;
  border-radius: 10px;
}
.payment4_upi_section h1 {
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: #201c3e;
}

.payment4_upi_option {
  display: flex;
  flex-direction: column;
  padding: 15px 0 0;
}
.payment4_par_wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}
.payment4_par_wrapper p {
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: #201c3e;
}
.payment4_upi_common {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  justify-content: space-between;
  border-left: 1px solid #edeaff;
  border-right: 1px solid #edeaff;
  /* border-bottom: 1px solid #edeaff; */
  border-top: 1px solid #edeaff;
}
.gpays {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.upi_4 {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 1px solid #edeaff;
}
.pay_upi_active{
    border-left: 1px solid #201c3e;
    border-right: 1px solid #201c3e;
    border-bottom: 1px solid #201c3e;
    border-top: 1px solid #201c3e; 
}
.payment4_paynow_btn {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 10px 15px 10px;
}
.payment4_paynow {
  width: 100%;
  padding: 15px;
  background: #201c3e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-family: Inter;
  font-weight: 600;
}
.pay_btn_disabled {
  opacity: 0.5;
  cursor: not-allowed;
    pointer-events: none;
}

/* Success and Failed Transaction screen */
.payment_4_sec_success{
   overflow:hidden auto;
}
.amunt_paid_wrapper {
  background: #ffff;
  border-radius: 10px;
  position: relative;
  text-align: center;
  margin: 60px 0 30px 0;
}
.succes_mark {
  border: 5px solid #fff;
  border-radius: 50%;
  margin: -2rem 0 0 0;
}
.amount_vale {
  color: #7BCC53;
  font-size: 28px;
  font-weight: 700;
}
.paid_amnt_txt {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}
.trans_suctxt {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
}
.processed_transz {
  color: #4E4E4E;
  font-size: 12px;
  font-weight: 400;
}
.amount_paid_sec {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trans_details_txt_sec {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.trans_det {
  color: #201C3E;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 10px;
}
.descript_dets {
  font-size: 12px;
  font-weight: 400;
  color: #212223;
}
.values_txt {
  color: #212223;
  font-size: 14px;
  font-weight: 500;
}
.trans_lst_wrap {
  border: 1px solid #E5E7EA;
  border-radius: 6px;
  padding: 10px 0;
}
.trans_lst_wrap li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 10px;
  border-bottom: 1px solid #F1F1F1
}
.trans_lst_wrap li:last-child {
  border-bottom: none;
}
.done_btn {
  background: #201C3E;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: unset;
  border-radius: 8px;
  padding: 14px;
  width: 100%;
  cursor: pointer;
}
.done_bttn_wrap {
  margin: 0;
  padding: 20px 15px;
}
.payment4_main_section {
  overflow: hidden;
}
.amount_vale_red {
  color: #FF521E;
  font-size: 28px;
  font-weight: 700;
}
.transaction_sec_wrapper {
  padding: 0 15px;
}
.payment_4_sec_success::-webkit-scrollbar {
  display: none;
}

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

@media (max-width: 590px) {
  .payment4_section {
    border-radius: unset;
  }
}
@media (min-width: 590px) and (max-width: 809px) {
  .payment4_section {
    max-height: 95dvh;
    height: unset;
  }
}
@media (min-width: 810px){
  .payment4_section {
    max-height: 95dvh;
    height: unset;
  }
}
@media (min-width:1100px){
  .payment4_section{
    height: unset;
    max-height: 97vh;
  }
  .amt_paym_balance img{
    max-width: 35px;
  }
}

@media (min-width:551px){
  .payment4_section.payment_succ_fal_contnr {
    max-height: 90vh;
    height: unset;
    overflow: hidden;
  }
}
@media (min-width:768px){
  .payment4_section.payment_succ_fal_contnr {
    max-height: 90vh;
    height: unset;
  }
}