/* General Form Styling */
.donation-form {
  max-width: 650px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
}

/* Donation Amount Section Styling */
.donation-form .field.radio {
  display: inline-block;
  width: 30%;
  margin: 1%;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
}

.donation-form .field.radio:hover {
  background-color: #CACACA; /* Hover color before selection */
}

.donation-form .field.radio.selected {
  background-color: rgb(212, 227, 246); /* Selected background color */
  border: 1px solid rgb(24, 69, 123); /* Selected border color */
}

/* Hide radio inputs */
.donation-form .field.radio input[type="radio"] {
  display: none;
}

/* Remove dashes from labels */
.donation-form .field.radio label::after {
  content: ''; /* Remove dashes after labels */
}

/* Other Amount Field Styling */
#other-amount {
  display: none;
  width: 100% !important; /* Full width */
  margin-top: 10px;
}

#other-amount input {
  width: 100%;
  font-size: 24px; /* Bigger font for input */
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Step Control Buttons */
.donation-form .pagination-button {
  background-color: rgb(20, 59, 106); /* Continue button background color */
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  width: 100%; /* Full width */
}

.donation-form .pagination-button:hover {
  background-color: #0056cc;
}

.donation-form button[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

.donation-form .pagination-button:focus {
  outline: 2px solid #0056cc;
}

/* Hidden initially */
#Transaction_2780161, textarea#comment {
  display: none;
}

/* Remove label text when fields are shown */
#Transaction_2780161 label {
  display: none;
}

/* Fixed width for checkboxes */
#honor-checkbox, #add-note-checkbox, input#true-impact {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Align checkbox and label on the same line */
.donation-form label {
  display: inline-flex;
  align-items: center;
}

/* Ensure that the Continue button stays at the bottom */
.donation-form .pagination-button {
  margin-top: auto;
}

/* Hide true-impact, captcha, and donate button on the first page */
section.true-impact, .captcha {
  display: none;
}

/* Show the sections when moving to the second page */
.donation-form.show-second-page .true-impact,
.donation-form.show-second-page .captcha,
.donation-form.show-second-page .btn-group {
  display: block;
}

/* Container styles for radio buttons */
.field.radio {
  border: 2px solid transparent; /* Border applied to container */
  margin-bottom: 15px; /* Optional margin for spacing */
}

/* Container styling for selected state */
.field.radio.selected {
  border-color: rgb(24, 69, 123); /* Border only on the selected container */
}

/* Expand the label to take the full height and width of the container */
.field.radio label {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
  cursor: pointer; /* Makes the entire label clickable */
  background-color: transparent; /* Default background */
}

/* Styling for the recurring buttons */
.recurring-buttons-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Recurring buttons - three across with spacing */
.recurring-button {
  display: inline-block;
  width: calc(33.33% - 10px);
  margin: 5px;
  padding: 12px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  font-size: 16px;
}

.recurring-button:hover {
  background-color: #CACACA;
}

.recurring-button.selected {
  background-color: rgb(212, 227, 246);
  border-color: rgb(24, 69, 123);
}


/* Donation buttons: 3 across */
.section.donation .field.radio {
  width: calc(33.33% - 10px);
  margin: 5px;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
}
#other-amount, #Transaction_2780161, #comment, div.section.contact div.field input, div.billing-address div.field input, div.billing-address div.field textarea, select, #routingNumber, #accountNumber {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 13px 10px !important;
  font-size: 17px;
  border-radius: 8px;
  margin-top: 0px;
  max-width: unset !important;
  width: 90%;
}

textarea#street-address {
  width: 95% !important;
}

div.section.contact div.field, div.section.billing-address div.field {
  width: 49%;
  display: inline-block;
  max-width: unset !important;
}

div.section.billing-address div.field.street-address {
  width: 100%;
  max-width: unset !important;
}

#Transaction_2780161, #comment {
  width: 100%;
  max-width: unset;
}


.btn.btn-submit.btn-submit-donation {
  background-color: rgb(20, 59, 106);
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
}

.donation-form .field .checkbox.selected{
  background: rgb(20, 59, 106) !important;
}

div.comment label {
  display: none;
}

div.section.contact label, div.section.billing-address label {
  width: 140px;
}


/* Hiding things */
.section.custom-fields {
  margin-top: 20px; 
}

.section.custom-fields label {
  margin-top: 15px;
}

#Account_2124801 {
  margin-left: auto;
  margin-right: auto;
}
.section.donation h3, .section.custom-fields h3 {
  display: none;
}

#stripe-cc-fields {
  text-align: center;
}

#stripe-cc-fields label {
  display: none;
}

select {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

div.section h3 {
  font-family: Arial, sans-serif;
  font-size: 18px;
  margin-bottom: 5px;
  margin-top: 25px;
}

div.section.captcha, #stripe-cc-fields {
  margin-top: 40px;
  margin-bottom: 20px;
}

img.sample-check {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}

div.routingNumber {
  margin-top: 30px;
}