/**
 * @file
 * Whistleblower overrides for the mm_intakes submit loading state (WEM-7057,
 * mm_intakes throbber from Shared Infra 3.0.1+).
 *
 * The theme gives the yellow submit button position: relative; z-index: 1
 * (_editable-apollo-form.scss), which paints it over the mm_intakes overlay
 * (z-index: auto), so the spinner and "Submitting..." were hidden and the
 * busy button looked empty. The overlay is lifted above the button.
 *
 * The decorative span.submit-arrow (wb_intakes prefix, z-index: 11) sits
 * outside the busy wrap, so it neither fades nor hides and would overlap the
 * "Submitting..." label. It is hidden while the form is submitting.
 *
 * The default fade (0.6) is kept: black on yellow is about 5.1:1 faded.
 */
form.apollo-form .mm-intakes-submit-wrap > .mm-intakes-throbber__figure {
  z-index: 2;
}

form.apollo-form[aria-busy="true"] .submit-arrow {
  visibility: hidden;
}
