* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s linear;
}

.payment31_section,
.payment31_pay_section {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.payment31_main_section {
  /* background: radial-gradient(circle, rgba(9, 21, 121, 0.7959558823529411) 0%, rgba(255, 255, 255, 1) 100%); */
  background: linear-gradient(to right, #920094, #50005752);
}

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

.payment32_sec_sub {
  /* height: 100%; */
  background-image: url('../images/screen_back_img.svg');
  background-position: 50% 65%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px 15px;
  background-attachment: scroll;
}

.pay_ui_rt {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.upi_logo {
  display: flex;
  align-items: center;
}

.payment31_sec_sub_cont {
  height: 100%;
  overflow: scroll;
}

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

.payment31_upi_title {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  position: relative;
}

.payment31_upi_title h1 {
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  color: #fff;
}

.pay_32_ar {
  display: flex;
  position: absolute;
  left: 10px;
  cursor: pointer;
}

.payment31_head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 10px 10px 10px;
}

.pay7__amt_val {
  font-size: 32px;
  font-weight: 500;
  line-height: 37px;
  color: #fff;
}

.payment31_head p {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 16.40px;

}

.upi_scann_con {
  background: #fff;
  display: flex;
  border-radius: 12px;
  padding: 6px;
  gap: 12px;
  align-items: center;
  border: 0.5px solid #E1E1E1;
  margin-bottom: 15px;
}

.pay_scanner {
  padding: 4px 4px 0px;
  border-radius: 4px;
}

.scann_cont2 {
  font-size: 12px;
  font-weight: 400;
  color: #767676;

}

.scann_cont1 {
  font-size: 11px;
  font-weight: 400;
  color: #767676;
  line-height: 12.89px;
}

.scann_cont2 span {
  font-size: 14px;
  font-weight: 600;
  color: #D4574F;

}

.pay_scann_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay_scann_img_wrapper {
  display: flex;
  justify-content: start;
  gap: 8px;
}

.pay_scann_img_wrapper>img {
  height: auto;
  width: 26px;
}

.scann_count_head {
  font-size: 16px;
  font-weight: 500;
  color: #1D1D1D;
  line-height: 21px;
}

.payment31_upi_section {
  padding: 10px 0px 0;
  border-radius: 10px;
  margin-bottom: 20px;
}

.payment31_upi_section h1 {
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  color: #292929;
  text-align: center;
  margin-bottom: 8px;
}

.payment31_upi_section>.desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.06px;
  text-align: center;
  color: #767676;
  text-align: center;
}

.payment31_upi_option {
  display: flex;
  flex-direction: column;
  margin: 15px 0 0;
  gap: 10px;
}

.payment31_par_wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment31_par_wrapper>p {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 11.72px;
  color: #606060;
}

.payment31_upi_common {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 10px;
  height: 44px;
  position: relative;
  cursor: pointer;
  justify-content: space-between;
  border-radius: 8px;
  box-shadow: 0px 0px 12px 0px #4F4F4F26;
  border: 1.5px solid transparent;
}

.payment31_upi_common .payment31_par_wrapper>img {
  height: auto;
  width: 24px;
}

.payment31_upi_common>.arrow_right {
  opacity: 0.3;
  width: 16px;
  height: 16px;
}

.payment31_upi_common.pay_upi_active {
  border: 1.5px solid #A121C6;
}

.payment31_upi_common.pay_upi_active .arrow_right {
  opacity: 1;
}

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

.payment31_paynow {
  width: 100%;
  background: linear-gradient(180deg, #8E20E1 0%, #7B1169 100%);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pay_btn_disabled {
  opacity: 0.5;
  cursor: not-allowed;
    pointer-events: none;
}

.pay_scanner img {
  box-shadow: 0px 0px 27.3px 3.9px #53535321;
  padding: 6px;
  max-width: 120px;
  border-radius: 10px;
}

.rt_qr_count_container {
  padding: 12px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  border: 0.5px solid #E1E1E1;
  border-radius: 8px;
}

.rt_qr_count_container>p {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.06px;
  text-align: center;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rt_qr_count_container>p span {
  color: #FF3333;
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
}

.rt_qr_count_container>.rt_or_text {
  position: absolute;
  width: 33px;
  height: 22px;
  bottom: -10px;
  padding: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.06px;
  text-align: center;
  color: #454545;
  background-color: #fff;
}

/* Payment Success */
.payment31_main_section.pay_pg_sc {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.payment31_succ_bg {
  background-image: url('../image/pay_suc_bg.svg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 15px 20px;
  overflow-y: scroll !important;
}

.pay_sucess img {
  width: 90px;
}

.payment_success_sec {
  position: relative;
  width: 100%;
  padding: 30px 0px 40px 0px;
  text-align: center;
}

.amount_pay_suc h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  padding-bottom: 3px;
}

.amount_pay_suc h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 3px;
  font-family: "Inter", sans-serif;
}

.amount_pay_suc h3 span {
  padding-right: 5px;
}

.amount_pay_suc p {
  font-size: 14px;
  font-weight: 500;
  color: #00B273;
}

.pay_deta_sta {
  box-shadow: 0px 4px 11px 0px #00000000;
  border: 1px solid #E5E7EA;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 12px 12px 12px;
  width: 100%;
}

.pay_detail {
  list-style: none;
  padding-left: 0;
  padding: 10px 10px;
  margin: 0;
}

.pay_deta_sta p {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #272323;
}

.pay_detail li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 520px;
  margin: 0 auto;
  color: #3A458A;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.pay_detail div {
  padding: 10px 0px;
  color: #2E2E2E;
}

.pay_rece {
  font-weight: 400;
  font-size: 12px;
  color: #676767 !important;
}

.pay_title {
  padding-right: 5px !important;
  font-weight: 500;
}

.pay_pg_upi {
  margin-top: -50px;
}

.pay_pg_upi img {
  position: relative;
  left: 50%;
  transform: translate(-50%, 56%);
}

.pay_succ_btn {
  padding: 0px 5px;
}

.sub_pay_succ {
  width: 100%;
  padding: 18px;
  background: #272323;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.upi_scann_con_sucsfail {
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  margin-bottom: 35px;
  box-shadow: 0px 0px 35px 0px #00000024;
  gap: 12px;
  padding: 6px 40px;
  text-align: center;
}

.upi_scann_con_sucsfail>.scann_count_head {
  font-weight: 400;
  font-size: 14px;
  line-height: 14.41px;
  color: #1E1E1E;
}

.upi_scann_con_sucsfail>.scann_cont1 {
  font-weight: 400;
  font-size: 10.95px;
  line-height: 12.83px;
  color: #747474;
}

.rt_payment_details_container {
  background: #fff;
  box-shadow: 0px 0px 40px 0px #C8C6D140;
  padding: 4px 6px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #D7D7D7;
  padding: 20px 16px 5px;
}

.rt_payment_details_container_inner {
  display: flex;
  flex-direction: column;
}

.rt_payment_details_content_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #0000001A;
  padding: 12px 0px;
}

.rt_payment_details_content_wrap:last-child {
  border-bottom: 0;
}

.rt_payment_details_content_key {
  font-size: 13px;
  font-weight: 400;
  line-height: 14.52px;
  color: #747474;
}

.rt_payment_details_content_value {
  font-size: 14px;
  font-weight: 400;
  line-height: 14.52px;
  color: #747474;
}

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

.rt_invoice_txt {
  min-width: 195px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.5px solid #D7D7D7;
  border-radius: 88px;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.41px;
  text-align: center;
  color: #1E1E1E;
  background-color: #fff;
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
}

.payment31_paynow_btn_success_failed {
  position: relative;
  padding: 0;
}

/* End Payment Success */
/* Payment Failed */
.amount_pay_fail h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  padding-bottom: 3px;
}

.amount_pay_fail h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 3px;
  font-family: "Inter", sans-serif;
}

.amount_pay_fail h3 span {
  padding-right: 5px;
}

.amount_pay_fail p {
  font-size: 14px;
  font-weight: 500;
  color: #FF1F1F;
}

.sub_pay_fail {
  width: 100%;
  padding: 18px;
  background: #FF1F1F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
.payment_su_fa_value::before { 
  content: attr(data-value); 
}
/* End Payment Failed */

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

  .payment32_sec_sub {
    background-position: 50% 33%;
  }

  .pay_upi_section.payment31_upi_section {
    padding-bottom: 0px !important;
    margin-bottom: 0;
  }

  .rt_qr_count_container {
    margin-bottom: 5px;
  }

  .payment31_upi_option {
    gap: 4px;
  }

  .pay_scanner img {
    max-width: 110px;
  }

  .payment31_head {
    padding: 15px 10px 0px 10px;
    gap: 3px;
  }

  .upi_scann_con {
    margin-top: 10px;
  }
}



@media (min-width: 550px) and (max-width: 809px) {
  .payment31_section {
    max-height: 95dvh;
    height: unset;
  }
}

@media (min-width:1100px) {
  .payment31_section {
    height: unset;
    max-height: 97vh;
  }
}

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

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

  .payment32_sec_sub {
    background-position: 50% 40%;
  }

  .payment31_paynow_btn {
    position: fixed;
    width: 100%;
  }

  .payment31_paynow_btn_success_failed {
    position: relative;
    padding: 0;
  }
}

@media(max-width:420px) {
  .payment32_sec_sub {
    background-position: 50% 45%;
  }
}

@media(max-width:385px) {
  .payment32_sec_sub {
    background-position: 50% -85px;
  }
}

@media(max-width:360px) {
  .payment32_sec_sub {
    background-position: 50% -85px;
  }
}

@media(max-width:340px) {
  .payment32_sec_sub {
    background-position: 50% -45px;
  }
}

@media(max-width:320px) {
  .payment32_sec_sub {
    background-position: 50% -40px;
  }
}




@media only screen and (max-width: 320px) and (max-height: 887px) {
  .payment32_sec_sub {
    background-position: 50% -40px;
  }
}