<style>


.donor-payment-box {
  background: #FFF9F4;
  border: 1px solid #FFD8B5;
  border-radius: 18px;
  padding: 35px;
  margin-top: 25px;
  box-shadow: 0 10px 30px rgba(232,96,28,0.08);
}

.donor-payment-title {
  text-align: center;
  font-size: 34px;
  color: #C2410C;
  margin-bottom: 30px;
  font-weight: 700;
}

.donor-payment-row {
  display: flex;
  gap: 25px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* LEFT QR BOX */

.donor-left-box {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #FFD8B5;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.donor-qr-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 12px;
}

/* RIGHT BOX */

.donor-right-box {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  background: #FFF4E8;
  border: 1px solid #FFD8B5;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align:left;
}

/* UPI Highlight */

.donor-upi-highlight {
  background: #ffffff;
  border: 2px solid #F97316;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  text-align: center;
}

.donor-upi-highlight p {
  margin: 0 0 10px;
  color: #C2410C;
  font-weight: 700;
}

.donor-upi-highlight span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px dashed #F97316;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: #7A2E0A;
  background: #FFF8F1;
  word-break: break-word;
}

/* Account Details */

.donor-bank-details {
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 18px;
  border: 1px solid #FFD8B5;
  text-align:left;
}

.donor-bank-details p {
  color: #7A4A2A;
  font-size: 15px;
  line-height: 1.6;
  justify-content:space-between;
  align-items:left;
  margin:8px 0;
  display:grid;
  grid-template-columns: 160px 1fr;
}


.donor-bank-details strong{
    text-align:left;
}

/* UPI Button */

.donor-upi-btn-box {
  text-align: center;
}

#upiLink {
  display: inline-block;
  padding: 14px 24px;
  background: #F97316;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

/* Upload Section */

.donor-upload-section {
  margin-top: 30px;
  background: #FFF4E8;
  border: 1px solid #FFD8B5;
  border-radius: 16px;
  padding: 24px;
}

.donor-upload-section label {
  display: block;
  font-weight: 700;
  color: #C2410C;
  margin-bottom: 12px;
}

.donor-upload-section input {
  width: 100%;
}

.donor-note {
  margin-top: 12px;
  color: #7A4A2A;
  font-size: 14px;
}

/* Submit Button */

.donor-submit-box {
  text-align: center;
  margin-top: 25px;
}

.donor-submit-btn {
  background: #F97316;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive */

@media(max-width:768px){

  .donor-payment-row{
    display: flex;
    flex-direction: column !important;
    gap: 15px;
    width: 100%;
    flex-direction: column !important;
  }

  .donor-left-box,
  .donor-right-box{
   width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box;
            }

  .donor-upi-highlight{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .donor-upi-highlight span{
    display: block;
    width: 100%;
    word-break: break-word;
    white-space: normal;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
  }

  .donor-bank-details{
    width: 100%;
  }

  .donor-bank-details p{
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    flex-direction:column;
    align-items:flex-start;
  
  }
 .donor-bank-details span{
    text-align:left;
    margin-top:3px;
  }
  .donor-upi-btn-box{
    width: 100%;
    text-align: center;
  }

  #upiLink{
    width: 100%;
    display: block;
    box-sizing: border-box;
  }

  .donor-payment-box{
    overflow: hidden;
    padding: 15px !important;
  }

}

/*@media(max-width:768px) {
  .donor-payment-row {
    flex-direction: column;
  }

  .donor-left-box,
  .donor-right-box {
    width: 100%;
  }

  .donor-payment-title {
    font-size: 28px;
  }
}*/

@media (max-width: 480px) {

  .donor-payment-box {
    padding: 12px !important;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .donor-payment-row {
    display: flex;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100%;
  }

  .donor-left-box,
  .donor-right-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .donor-qr-img {
    width: 100% !important;
    max-width: 180px !important;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .donor-upi-highlight {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  .donor-upi-highlight span {
    display: block;
    width: 100% !important;
    font-size: 13px !important;
    padding: 10px !important;
    word-break: break-word;
    white-space: normal;
    box-sizing: border-box;
  }

  .donor-bank-details {
    width: 100%;
    padding: 12px !important;
    box-sizing: border-box;
  }

  .donor-bank-details p {
    font-size: 13px !important;
    line-height: 1.5;
    word-break: break-word;
  }

  #upiLink {
    display: block;
    width: 100% !important;
    padding: 12px !important;
    font-size: 14px !important;
    box-sizing: border-box;
    text-align: center;
  }

  .donor-upload-section {
    width: 100%;
    padding: 14px !important;
    box-sizing: border-box;
  }

  .donor-upload-section input {
    width: 100%;
    box-sizing: border-box;
  }

  .donor-submit-btn {
    width: 100%;
    padding: 14px !important;
    box-sizing: border-box;
  }
}

</style>

