/* =========================================
   DONATION PAGE (matches screenshot)
========================================= */
.donation-page {
  background: #e7f2d9;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.donation-wrap {
  width: min(980px, calc(100% - 120px));
  margin: 0 auto;
  padding: 40px 0 50px;
}

.donation-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin: 10px 0 24px;
  color: #0e241f;
}

.donation-form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 28px;
  row-gap: 22px;
}

.field label {
  display: block;
  font-size: 14px;
  color: rgba(14, 36, 31, 0.65);
  font-weight: 700;
  margin-bottom: 8px;
}

.req {
  color: #d85c5c;
  font-weight: 900;
  margin-left: 2px;
}

.field input {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  outline: none;
}

.field input:focus {
  border-color: rgba(10, 92, 46, 0.55);
}

/* layout spans (matches screenshot rows) */
.field.full { grid-column: 1 / -1; }
.field.half { grid-column: span 6; }
.field.cardholder { grid-column: span 5; }
.field.expiry { grid-column: span 3; }
.field.cvc { grid-column: span 3; }

/* button bottom-right */
.donation-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.confirm-btn {
  background: #0a5c2e;
  color: #e9f2ee;
  border: none;
  padding: 12px 46px;
  font-size: 22px;
  font-weight: 900;
  border-radius: 2px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
  cursor: pointer;
}

.confirm-btn:hover {
  filter: brightness(1.03);
}

/* =========================================
   DONATION FORM — MOBILE (match screenshot)
========================================= */
@media (max-width: 520px) {
  .donation-wrap {
    width: calc(100% - 36px) !important;
    padding: 22px 0 34px !important;
  }

  .donation-title {
    font-size: 26px !important;
    margin: 6px 0 16px !important;
  }

  /* switch back to grid like screenshot (not full stacked) */
  .donation-form {
    grid-template-columns: repeat(12, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 16px !important;
  }

  /* smaller label */
  .field label {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }

  /* inputs: shorter + centered-ish like screenshot */
  .field input {
    height: 28px !important;
    padding: 5px 8px !important;
    font-size: 12px !important;

    /* soften look */
    background: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12) !important;
    border-radius: 3px !important;
  }

  /* --- layout spans to match the screenshot --- */
  .field.full { grid-column: 1 / -1 !important; }

  /* Full Name / Card Number / Address / Amount = not full width, more compact */
  .field.full input {
    width: 92% !important;
  }

  /* Email + Contact: 2 small boxes */
  .field.half { grid-column: span 6 !important; }
  .field.half input { width: 85% !important; }

  /* Cardholder + Expiry + CVC: 3 boxes */
  .field.cardholder { grid-column: span 6 !important; }
  .field.expiry { grid-column: span 3 !important; }
  .field.cvc { grid-column: span 3 !important; }

  .field.cardholder input { width: 85% !important; }
  .field.expiry input,
  .field.cvc input { width: 88% !important; }

  /* button small + bottom right */
  .donation-actions {
    margin-top: 6px !important;
    justify-content: flex-end !important;
  }

  .confirm-btn {
    padding: 10px 22px !important;
    font-size: 14px !important;
    border-radius: 3px !important;
    box-shadow: 0 3px 0 rgba(0,0,0,0.16) !important;
  }

  /* Fix: align Expiry Date input with the others */
.field label{
  min-height: 32px;      /* forces equal label height */
  line-height: 16px;
  display: flex;
  align-items: flex-end; /* aligns label text to bottom */
}
}