/* Payment posters are framed with CSS; original QR pixels are never regenerated. */
.offering-card .payment-trigger {
  width: 100%;
  margin-top: 12px;
  justify-content: center;
  font-size: 12px;
  padding: 12px 15px;
}
.payment-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 25px;
  margin-top: 28px;
  border: 1px solid #a4e56b55;
  border-radius: 10px;
  background: linear-gradient(115deg, #1d2b16, #10190e);
}
.payment-callout h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.payment-callout p {
  font-size: 12px;
  margin: 0;
  color: #c5d8b8;
}
.payment-callout .button {
  white-space: nowrap;
}
.payment-open {
  overflow: hidden;
}
#payment-dialog {
  width: min(850px, 95vw);
  max-width: 95vw;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid #a4e56b80;
  border-radius: 15px;
  background: #10190e;
  color: #edf9e3;
  box-shadow:
    0 30px 110px #000c,
    0 0 65px #a4e56b18;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #758e5f #10190e;
}
#payment-dialog::backdrop {
  background: #030803e8;
  backdrop-filter: blur(8px);
}
.payment-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 18px;
  background: linear-gradient(120deg, #23311a, #111b0d);
  border-bottom: 1px solid #4c6438;
}
.payment-modal-header h3 {
  margin: 9px 0 8px;
  font-size: 29px;
}
.payment-modal-header p {
  font-size: 12px;
  line-height: 1.8;
  color: #d0e2c3;
  margin: 0;
  max-width: 650px;
}
.payment-modal-header .eyebrow {
  font-size: 9px;
}
.payment-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #a4e56b0b;
  color: #ddf6c8;
  border: 1px solid #718a56;
  border-radius: 50%;
  font-size: 24px;
}
.payment-close:hover {
  background: var(--green);
  color: #17230e;
}
.payment-choice-note {
  padding: 0 28px;
  color: #bbdd9f;
  font-size: 12px;
  margin: 18px 0 0;
}
.payment-accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 18px 28px;
}
.payment-account {
  min-width: 0;
  border: 1px solid #536d3c;
  border-radius: 10px;
  padding: 20px;
  background: radial-gradient(ellipse at 100% 0, #a4e56b0d, transparent 65%), #152010;
  text-align: center;
}
.payment-option-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #bce19e;
}
.payment-account h4 {
  min-height: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 9px 0 17px;
  font:
    600 17px Manrope,
    sans-serif;
  line-height: 1.4;
  color: #f2fbe9;
}
.payment-qr {
  position: relative;
  width: 100%;
  max-width: 230px;
  margin-inline: auto;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  isolation: isolate;
}
.payment-qr img {
  display: block;
  position: absolute;
  max-width: none;
  height: auto;
  filter: none;
  mix-blend-mode: normal;
}
/* Crop bounds include a white quiet zone around each original payment QR. */
.qr-infinity img {
  width: 118.536585%;
  left: -10.731707%;
  top: -33.414634%;
}
.qr-foundation img {
  width: 141.061453%;
  left: -19.553073%;
  top: -20.391061%;
}
.payment-upi-label {
  display: block;
  margin-top: 17px;
  font-size: 9px;
  color: #abc696;
  letter-spacing: 1px;
}
.payment-upi {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #dcf9c5;
  overflow-wrap: anywhere;
  user-select: all;
}
.payment-card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}
.copy-upi {
  padding: 7px 10px;
  border: 1px solid #8aab65;
  border-radius: 4px;
  background: #a4e56b10;
  color: #d3f2b9;
  font-size: 10px;
}
.payment-card-actions a {
  color: #c7e5b1;
  font-size: 10px;
}
.payment-copy-status {
  margin: 0;
  padding: 0 28px;
  min-height: 22px;
  font-size: 11px;
  color: #c9f5a6;
}
.payment-footer {
  padding: 14px 28px 25px;
}
.payment-footer > p {
  margin: 0 0 15px;
  color: #c2d3b7;
  font-size: 11px;
  line-height: 1.8;
}
.payment-footer .button {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  padding: 12px;
}
@media (max-width: 600px) {
  .payment-callout {
    flex-direction: column;
    align-items: stretch;
    padding: 23px;
    gap: 17px;
  }
  .payment-callout .button {
    justify-content: center;
  }
  #payment-dialog {
    width: 96vw;
    max-width: 96vw;
    max-height: 95dvh;
    border-radius: 10px;
  }
  .payment-modal-header {
    padding: 20px 16px 15px;
    gap: 10px;
  }
  .payment-modal-header h3 {
    font-size: 24px;
  }
  .payment-modal-header p {
    font-size: 11px;
  }
  .payment-modal-header .eyebrow {
    font-size: 8px;
  }
  .payment-choice-note {
    padding-inline: 16px;
    font-size: 11px;
  }
  .payment-accounts {
    gap: 10px;
    padding: 15px 12px;
  }
  .payment-account {
    padding: 13px 8px;
  }
  .payment-account h4 {
    font-size: 12px;
    min-height: 35px;
    margin-bottom: 12px;
  }
  .payment-option-label {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .payment-upi {
    font-size: 10px;
  }
  .payment-upi-label {
    margin-top: 12px;
    font-size: 8px;
  }
  .payment-card-actions {
    gap: 8px;
  }
  .copy-upi,
  .payment-card-actions a {
    font-size: 9px;
  }
  .payment-copy-status {
    padding-inline: 16px;
    font-size: 10px;
  }
  .payment-footer {
    padding: 12px 16px 20px;
  }
  .payment-footer > p {
    font-size: 10px;
  }
}
