/* ===== DONATE SECTION ===== */
.donate-section {
  background-color: #f9f9f9;
  padding: 96px 0;
}

/* ===== WRAPPER CARD ===== */
.donate-wrapper {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 25px 50px 0px rgba(0, 0, 0, 0.25);
  padding: 64px;
}

/* ===== TOP ROW ===== */
.donate-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

/* ===== VERTICAL SEPARATOR ===== */
.donate-separator {
  width: 1px;
  background-color: #e5e5e5;
  align-self: stretch;
  flex-shrink: 0;
  margin: 0 32px; /* 32px gap on both sides */
}

/* ===========================
   LEFT: OFFLINE INFO
   =========================== */
.donate-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.donate-left-heading {
  font-size: 36px;
  line-height: 125%;
  color: #181c20;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.donate-left-desc {
  font-size: 18px;
  line-height: 150%;
  color: #3e4a3c;
  margin: 0 0 16px 0;
}

/* ===== BANK DETAILS ===== */
.donate-bank-details {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donate-bank-details li {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 160%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.donate-bank-details strong {
  color: #181c20;
  font-weight: 700;
}

.donate-bank-details span {
  color: #3e4a3c;
  font-weight: 400;
}

/* ===== QR CODE ===== */
.donate-qr-placeholder {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.donate-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===========================
   RIGHT: ONLINE PAYMENT FORM
   =========================== */
.donate-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.donate-right-heading {
  font-size: 36px;
  line-height: 125%;
  color: #181c20;
  font-weight: 700;
  margin: 0 0 24px 0;
}

/* ===== FORM ===== */
.donate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== FORM GROUP ===== */
.donate-form-group {
  display: flex;
  flex-direction: column;
}

/* ===== LABEL ===== */
.donate-label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 100%;
  color: #878787;
  margin-bottom: 8px;
  display: block;
}

/* ===== INPUT ===== */
.donate-input {
  height: 48px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 100%;
  color: #181c20;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}

.donate-input::placeholder {
  color: #878787;
}

.donate-input:focus {
  border-color: #006e25;
  box-shadow: 0 0 0 3px rgba(0, 110, 37, 0.1);
}

.donate-input.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.donate-input.is-valid {
  border-color: #006e25;
}

/* Textarea */
.donate-textarea {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
  min-height: 96px;
}

/* ===== ERROR ===== */
.donate-error {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 100%;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.donate-error.show {
  display: block;
}

/* ===== PRESET AMOUNT BUTTONS ===== */
.donate-preset-amounts {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.donate-preset-btn {
  cursor: pointer;
}

/* Hide actual radio */
.donate-preset-radio {
  display: none;
}

/* Styled label as button */
.donate-preset-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3e4a3c;
  background-color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.donate-preset-btn span:hover {
  border-color: #006e25;
  color: #fff;
  background-color: #006e25;
}

/* Active/selected preset */
.donate-preset-radio:checked + span {
  border-color: #006e25;
  color: #fff;
  background-color: #006e25;
}

/* ===== SUBMIT BUTTON ===== */
.donate-submit-btn {
  width: 100%;
  padding: 18px 0;
  background: linear-gradient(135deg, #007016 0%, #00aa34 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.donate-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===========================
   BOTTOM: TRUST BADGES
   =========================== */
.donate-trust-section {
  border-top: 1px solid #e5e5e5;
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.donate-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-align: center;
}

.donate-trust-label {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 100%;
  color: #181c20;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .donate-wrapper {
    padding: 48px;
  }

  .donate-left-heading,
  .donate-right-heading {
    font-size: 28px;
  }

  .donate-left-desc,
  .donate-bank-details li {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  /* Stack left and right vertically */
  .donate-top {
    flex-direction: column;
  }

  .donate-separator {
    width: 100%;
    height: 1px;
    margin: 32px 0;
    align-self: auto;
  }

  .donate-wrapper {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .donate-section {
    padding: 60px 0;
  }

  .donate-wrapper {
    padding: 32px 24px;
  }

  .donate-left-heading,
  .donate-right-heading {
    font-size: 24px;
  }

  .donate-right {
    width: 100%;
  }

  .donate-trust-section {
    margin-top: 40px;
    gap: 16px;
  }

  .donate-trust-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .donate-section {
    padding: 48px 0;
  }

  .donate-wrapper {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .donate-left-heading,
  .donate-right-heading {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .donate-preset-amounts {
    gap: 8px;
  }

  .donate-preset-btn span {
    padding: 8px 14px;
    font-size: 13px;
  }

  .donate-trust-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .donate-trust-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}
