@charset "UTF-8";
/* ============================================================
   Payment type toggle
   ============================================================ */
.payment-form__type-toggle.fieldgroup {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.payment-form__type-toggle .fieldset-legend {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #4d4d4d;
  margin-bottom: 0.5rem;
}

#edit-payment-type {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 8px;
  background-color: #F7F9F8;
}
#edit-payment-type .form-item {
  margin: 0;
  flex: 1;
}
#edit-payment-type label {
  margin: 0;
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  background: transparent;
  color: #888888;
  border-radius: 6px;
  transition: color 0.15s, box-shadow 0.15s;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}
#edit-payment-type label:hover {
  color: #0d8894;
}
#edit-payment-type input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
#edit-payment-type input[type=radio]:checked + label {
  background: #fff;
  color: #0d8894;
  box-shadow: 0 1px 4px rgba(13, 136, 148, 0.2);
}
#edit-payment-type input[type=radio]:focus-visible + label {
  outline: 2px solid #0d8894;
  outline-offset: -2px;
}

/* ============================================================
   Amount tiles — clickable cards
   ============================================================ */
.payment-form__amounts-group {
  margin-bottom: 1rem;
}

.payment-form__tiles.fieldgroup {
  border: none;
  padding: 0;
  margin: 0 0 0.75rem;
}
.payment-form__tiles .fieldset-legend {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #4d4d4d;
  margin-bottom: 0.5rem;
}

#edit-amount-selection,
#edit-amount-selection-recurring {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
#edit-amount-selection .form-item,
#edit-amount-selection-recurring .form-item {
  margin: 0;
}
#edit-amount-selection label,
#edit-amount-selection-recurring label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  color: #4d4d4d;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  -webkit-user-select: none;
  user-select: none;
}
#edit-amount-selection label:hover,
#edit-amount-selection-recurring label:hover {
  border-color: #f97253;
  color: #f97253;
}
#edit-amount-selection input[type=radio],
#edit-amount-selection-recurring input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
#edit-amount-selection input[type=radio]:checked + label,
#edit-amount-selection-recurring input[type=radio]:checked + label {
  border-color: #f97253;
  background: #f97253;
  color: #fff;
}
#edit-amount-selection input[type=radio]:focus-visible + label,
#edit-amount-selection-recurring input[type=radio]:focus-visible + label {
  outline: 2px solid #f97253;
  outline-offset: 2px;
}

/* ============================================================
   Custom amount input — rendered inline as its own full-width tile
   ============================================================ */
.payment-form__custom-amount-item {
  margin: 0.5rem 0 0.75rem;
}
.payment-form__custom-amount-item input.payment-form__custom-amount {
  width: 100%;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  color: #4d4d4d;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.payment-form__custom-amount-item input.payment-form__custom-amount::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}
.payment-form__custom-amount-item input.payment-form__custom-amount:hover {
  border-color: #f97253;
}
.payment-form__custom-amount-item input.payment-form__custom-amount:focus {
  outline: none;
  border-color: #f97253;
}
.payment-form__custom-amount-item input.payment-form__custom-amount[aria-invalid=true] {
  border-color: #d9534f;
}

/* ============================================================
   Recurring interval toggle
   ============================================================ */
.payment-form__interval.fieldgroup {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

#edit-recurring-interval {
  display: flex;
  gap: 0.5rem;
}
#edit-recurring-interval .form-item {
  margin: 0;
}
#edit-recurring-interval label {
  display: block;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font-size: 0.875rem;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  color: #555;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
#edit-recurring-interval input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
#edit-recurring-interval input[type=radio]:checked + label {
  border-color: #0d8894;
  background: #d8efeb;
  color: #0d8894;
  font-weight: 600;
}

/* ============================================================
   Anonymous donation checkbox
   ============================================================ */
.form-item-is-anonymous {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#payment-form-is-anonymous + label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: #4d4d4d;
  margin: 0;
  user-select: none;
}
#payment-form-is-anonymous + label:hover {
  color: #0d8894;
}
#payment-form-is-anonymous:focus-visible + label {
  outline: 2px solid #0d8894;
  outline-offset: 2px;
}

/* ============================================================
   Stripe payment element
   ============================================================ */
.payment-form__stripe-element {
  margin: 24px 0;
}

/* ============================================================
   Step buttons & form layout
   ============================================================ */
#segm-stripe-integration-payment-form .payment-form__summary {
  margin-bottom: 24px;
}
#segm-stripe-integration-payment-form .payment-form__summary-amount {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 2px solid #f97253;
  border-radius: 6px;
  background: #f97253;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
#segm-stripe-integration-payment-form .payment-form__summary-link {
  padding: 0;
  border: none;
  background: none;
  color: #0d8894;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}
#segm-stripe-integration-payment-form .payment-form__summary-link:hover, #segm-stripe-integration-payment-form .payment-form__summary-link:focus-visible {
  color: #095e66;
}
#segm-stripe-integration-payment-form .payment-form__btn--back {
  width: 100%;
  margin: 0;
  max-width: unset;
  padding: 7px 20px;
}
#segm-stripe-integration-payment-form .payment-form__btn--next,
#segm-stripe-integration-payment-form .payment-form__submit {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
}
#segm-stripe-integration-payment-form .form-wrapper .fieldset-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

/* ============================================================
   Submit-time messages

   The front-end theme places no status-messages block, so form
   feedback is rendered inside the form itself. Colours match the
   webform confirmation/error palette so the two read as one system.
   ============================================================ */
.payment-form__message {
  width: 100%;
  padding: 6px 12px;
  margin-bottom: 1.5rem;
}
.payment-form__message__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #4d4d4d;
}
.payment-form__message--error {
  border: 2px solid #c62828;
  background-color: #fdecec;
}
.payment-form__message--status {
  border: 2px solid #238c31;
  background-color: #e7f5e1;
}

/*# sourceMappingURL=stripeIntegrationForm.css.map */
