/* Turn radio buttons into styled amount cards */
.donationAmountContainer .groupBodyVertical {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.donationAmountContainer .fieldItem {
  flex: 1 1 calc(25% - 6px);
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

/* Zero out the WA theme's adjacent-sibling margin */
.donationAmountContainer .fieldItem + .fieldItem {
  margin-top: 0;
}

.donationAmountContainer .fieldItem:hover {
  border-color: #259fc7;
}

/* Hide the actual radio circle */
.donationAmountContainer .typeRadio {
  display: none;
}

/* Highlight selected amount */
.donationAmountContainer .fieldItem:has(.typeRadio:checked) {
  border-color: #259fc7;
  background: #edf7fb;
}

.donationAmountContainer label {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #1a1c4e;
  text-align: center;
}

/* Style the Pay button */
.formContainer .button {
  background: #259fc7;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.formContainer .button:hover {
  background: #1e8ab0;
}

/* Clean up form title */
.formTitleContainer {
  display: none;
}

/* Widen input fields */
.formContainer input[type="text"],
.formContainer input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* Hide comment field */
#idCommentEditContainer {
  display: none;
}