.payHead {
  position: relative;
  height: 92px;
  border-radius: 13px 13px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-image: url("/images/payment/bg.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center; */
  background-color: #9176ff;
  padding: 34px 28px 34px 34px;
  z-index: 999;
}

.payHead .difference {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.payHead .logo {
  width: 90px;
}

.payHead .close {
  width: 45px;
  height: 45px;
  cursor: pointer;
}

.success .close {
  width: 45px;
  height: 45px;
  position: absolute;
  right: 32px;
  top: 32px;
  cursor: pointer;
}

.payContent {
  position: relative;
  padding: 34px 34px 0 34px;
}

.payContent.fullbox {
  padding: 34px;
}

.btnshadow {
  padding: 0 34px 28px 34px;
}

.payContent.box {
  position: relative;
  padding: 60px 34px;
}

.payContent .required {
  color: #646464;
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  margin-bottom: 23px;
}

.payContent .required.error {
  color: #e13435;
}

.payContent .detail {
  color: #204289;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 30px;
}

.payContent .scan {
  color: #3a3e47;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  z-index: 999;
}

.qrgrid {
  display: block;
}

.qrgrid .back {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 15px;
}

.qrgrid .qrBox {
  border-radius: 5px;
  margin: auto;
  margin-top: -86px;
}

.AsyncImage-root {
  margin-top: -86px !important;
}

.scanBox {
  background-color: #f5f8ff;
  padding: 12px 16px;
  width: 100%;
  height: 47px;
  color: #292c33;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 4px;
}

.scanBox .amount {
  color: #636772;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.listBox {
  margin-top: 0px;
}

.listBox .listInnerBox {
  margin-bottom: 8px;
}

.listBox .listInnerBox .formbox {
  background-color: #e7eaf4;
  padding: 5px 21px 0px 21px;
  margin-top: 10px;
  border-radius: 4px;
}

.listBox .select {
  color: #636772;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  margin: 15px 0 30px;
}

.listBox .foreign-donation {
  color: #297709;
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  margin: 0px 0 10px;
}

.listBox .listInnerBox .list {
  height: 55px;
  border: 1px solid #e7eaf4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3a3e47;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  padding: 0 19px;
  border-radius: 6px;
}

.listBox .listInnerBox .list img.bankslogo {
  display: block;
}

.listBox .radio {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6.5px;
}

.btn-payment {
  background: #866dcf !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 20px 36px !important;
  width: 215px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  margin-top: 13px !important;
}

.btn-payment.btn-donation {
  padding: 20px 15px !important;
}

.btn-payment.btn-account {
  background: #f1f1f1 !important;
  color: #333e56 !important;
  padding: 20px 15px !important;
}

.btn-payment.full {
  width: 100% !important;
}

.payContent .donListBox {
  border-radius: 10px;
  padding: 17px 16px;
  height: 275px;
  overflow-y: scroll;
  scrollbar-width: none;
}

.payContent .donListBoxRB {
  border-radius: 10px;
  padding: 17px 16px;
  height: 400px;
  overflow-y: scroll;
  scrollbar-width: 2px;
}

.payContent .donListBox.lgbox {
  height: 340px;
}

.payContent .terms,
.payContent .terms a {
  color: #646464;
  font-size: 13px;
  font-weight: 500;
  margin-top: 15px;
  line-height: 17px;
}

.payContent .note {
  color: #878787;
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  border: dashed 1px #d5d5d5;
  padding: 14px 7px 15px 19px;
  border-radius: 10px;
  margin-top: 30px;
}

.payContent .donListBox .list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payContent .donListBox .list .listcol {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 11px;
}

.payContent .donListBox .line {
  border: 1px solid #f2f2f2;
  width: 100%;
  margin: 7px 0 12px 0;
}

.payContent .donListBox .list .title {
  color: #333e56;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
}

.payContent .donListBox .list .quantity {
  color: #818181;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.payContent .donListBox .list .amount {
  color: #333e56;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.payContent .success .title {
  color: #204289;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.payContent .success .amount {
  color: #333e56;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  padding: 8px 0;
}

.payContent .success .refid {
  color: #333e56;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  padding-bottom: 20px;
}

.payContent .success .msg {
  color: #204289;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  padding-bottom: 15px;
}

.maskInput {
  height: 58px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  width: 100%;
  padding: 17px;
  font-weight: 600;
  font-size: 18px;
}

.maskError {
  position: absolute;
  left: 16px;
  bottom: -17px;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #e13435;
  text-transform: capitalize;
}

.amtError {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: #e13435;
  margin-top: 15px;
}

.cardImg {
  float: right;
  position: absolute;
  top: 15px;
  right: 15px;
}

.btn-box-shadow {
  border-top: 0 1px 0 0 #cfcfcf;
}

.validationError {
  position: absolute;
  bottom: 26px;
}

.payError {
  position: absolute;
  bottom: 30px;
}

.payForeignError {
  position: absolute;
  bottom: -20px;
}

@media only screen and (max-width: 767px) {
  .listBox .select {
    margin: 10px 0 10px;
    text-align: left;
  }

  .listBox .foreign-donation {
    color: #297709;
    font-size: 11px;
    text-align: left;
  }
  .validationError {
    position: absolute;
    top: 23px;
  }

  .listBox .listInnerBox .formbox {
    margin-bottom: 55px;
  }

  .listBox .listInnerBox .formbox .mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .listBox .listInnerBox .formbox .col-xs-6 {
    width: 50% !important;
  }

  .qrgrid .qrBox {
    margin-top: -25px;
  }

  .payContent .donListBox {
    height: auto;
    max-height: 275px;
  }

  .payContent .terms {
    padding-bottom: 60px;
  }

  .btn-payment.btn-cont {
    padding: 15px 26px !important;
    width: 180px !important;
    float: right !important;
  }

  .payHead {
    padding: 10px 12px 15px 10px;
    border-radius: 0;
  }

  .payContent {
    position: relative;
    padding: 10px;
  }

  .btnshadow {
    padding: 0 10px 15px 10px;
  }

  .listBox .foreign-donation {
    margin-bottom: 0;
  }

  .payContent .success {
    text-align: center;
  }

  .payHead .logo {
    width: 350px;
  }

  .listBox .listInnerBox .list img.bankslogo {
    display: none;
  }

  .qrgrid {
    text-align: center;
  }

  .scanBox {
    margin: auto;
  }

  .confetti {
    text-align: center;
  }

  .confetti img {
    width: 100px;
  }

  .payContent .scan {
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
  }

  .payHead .difference {
    font-size: 18px;
    line-height: 25px;
  }
}

@media only screen and (max-width: 480px) {
  .payHead .logo {
    width: 280px;
  }

  .payHead .close {
    width: 40px;
    height: 40px;
  }
}

@media only screen and (max-width: 359px) {
  .payHead .logo {
    width: 250px;
  }

  .payHead .close {
    width: 35px;
    height: 35px;
  }
}
