/* Custom Donation Modal Styling */

/* Transparent backdrop to see website through */
.giveforms-modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(3px) !important;
}

/* Make donation form background highly transparent */
.giveforms-modal-content,
.giveforms-modal-container,
.giveforms-modal-inner,
.giveforms-form-container,
.giveforms-form-wrapper,
.giveforms-form,
.giveforms-form-inner,
.giveforms-form-content,
.giveforms-steps-wrapper,
.giveforms-step,
.giveforms-fields,
.giveforms-field {
  background-color: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border-radius: 12px !important;
  max-width: 90% !important;
  margin: auto !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Apply similar transparency to all inner elements */
.giveforms-field-label,
.giveforms-field-inner,
.giveforms-button,
.giveforms-text,
.giveforms-input,
.giveforms-step-title,
.giveforms-intro,
.giveforms-modal-header,
.giveforms-modal-body {
  background-color: transparent !important;
}

/* Increase text contrast for better readability on transparent background */
.giveforms-modal-content h1,
.giveforms-modal-content h2,
.giveforms-modal-content h3,
.giveforms-modal-content label {
  color: #000 !important;
  font-weight: bold !important;
}

/* Custom styling for close button */
.giveforms-modal-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}
