/* Donation amount buttons */
.pmprodon_btn {
  background-color: #f5f5f5;
  border-radius: 30px;
  min-width: 120px;
  min-height: 60px;
  padding: 10px 20px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  text-align: center;
  color: var(--e-global-color-secondary);
  border: 3px solid var(--e-global-color-secondary);
  font-size: 18px;
  cursor: pointer;
}

.pmprodon_btn:hover {
  background-color: var(--e-global-color-secondary);
}

.pmprodon_btn.active {
  background-color: var(--e-global-color-secondary);
  color: #f5f5f5;
}

/* Flexbox layout for buttons */
.pmpro_form_fields-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Text input field for custom/other donation amounts */
#pmprodon_donation_input {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 0; /* Hide the $ symbol originally */
}

#pmprodon_donation_input::before {
  content: "$";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

/* Donation input field */
#donation {
  direction: ltr;
  text-align: right;
  padding-left: 25px; /* Space for the $ symbol */
  box-sizing: border-box;
  width: 120px;
  font-size: 18px;
  font-weight: 500;
  border: 3px solid var(--e-global-color-secondary);
  border-radius: 4px;
  padding: 10px;
}

/* Remove up/down arrows from number input */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* Submit button styling (matching "Donate Now" button) */
.pmpro_btn-submit-checkout {
  background-color: #4CAF50;
  color: #fff;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.pmpro_btn-submit-checkout:hover {
  background-color: #45a049;
}

.pmpro_btn-submit-checkout:active {
  background-color: #388e3c;
}

