/* Donation form styling */
.wcdp-button-label {
  display: block;
  background-color: #4CD964;
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100% !important;
  box-sizing: border-box !important;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + label {
  position: relative;
}

input[type="radio"]:checked + label:after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Hide the original input field */
.wcdp_cu_field {
  display: none !important;
}

/* Custom input field styling */
.custom-donation-field {
  margin-top: 15px;
}

.text-field-container {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
}

.custom-input-container {
  display: flex;
  align-items: center;
}

.currency-symbol {
  margin-right: 5px;
}

#custom-donation-amount {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
}

/* Down arrow styling - centered */
.down-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px !important;
  display: inline-block;
  margin-top: -15px;
}

/* Make Other button text and down arrow centered */
label[for="wcdp_1_wcdp_value_other"] {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* For regular amount buttons */
.wcdp_options.wcdp_amount input[type="radio"]:checked + label.wcdp-button-label {
  background-color: #121c30 !important;
  color: white !important;
}

/* For the "Other" button which has a different class */
.wcdp_options.wcdp_amount input[type="radio"]:checked + label.wcdp_label_custom_amount {
  background-color: #121c30 !important;
  color: white !important;
	height:46px;
	border-radius:8px;
}

/* Hide the dollar sign in the Other button */
#wcdp_1_label_custom_amount .woocommerce-Price-currencySymbol {
  display: none !important;
}

/* Ensure all buttons maintain full width */
.wcdp_options.wcdp_amount li {
  width: auto !important;
}

