.fairtree-contact-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--fairtree-confirmation-height, 320px);
  padding: 48px 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  color: inherit;
}
.fairtree-contact-confirmation h2 { margin: 20px 0 16px; }
.fairtree-contact-confirmation p { margin: 0; }
.fairtree-contact-confirmation__icon { font-size: 64px; color: #c36522; }
.fairtree-contact-confirmation:focus { outline: none; }

/* The confirmation carries its own icon and heading, so hide the theme's legacy
   success icon and form headline. Scoped to the GravityForm module (not just
   .mod-contact-form) so popup forms (.mod-popup-static) are covered too. */
[data-module~="GravityForm"]:has(.fairtree-contact-confirmation) .js-submit-confirm,
[data-module~="GravityForm"]:has(.fairtree-contact-confirmation) .js-form-headline-to-hide { display: none; }

/* Gravity Forms 3.x renders its submit spinner inside <button class="gform_button">
   and sizes it in em (10em box, 1.1em stroke), expecting a tiny font-size. The
   theme's `button.gform_button span { font-size: .75rem }` (meant for labels) hit
   the spinner span and made it a ~120px orange ring over the button. 2px gives a
   20px spinner; draw it white and hide the label while it spins (the theme sets
   the label colour with !important, so this must too). */
.gform_wrapper .gform_footer .gform-loader,
.gform_wrapper.gform-theme .gform_footer button.gform_button span.gform-loader { font-size: 2px; }
.gform_wrapper .gform_footer button.gform_button.gform-has-spinner { color: transparent !important; }
.gform_wrapper.gform-theme .gform_footer button.gform_button span.gform-loader {
  /* Centre in the button. Popup forms' legacy `.popup-form .gform_footer .gform-loader
     { right: -32px }` (from when the spinner sat beside an <input>) shifted it. */
  inset: 0;
  border-block-start-color: rgba(255, 255, 255, 0.35);
  border-inline-end-color: rgba(255, 255, 255, 0.35);
  border-block-end-color: #fff;
  border-inline-start-color: #fff;
}
