#mp-cover .help-link
{
  padding: 14px 0;
  margin-bottom: 0;
}
.formcraft-css .fc-pagination .error-count
{
  color: white;
  background-color: red;
  border-radius: 100px;
  position: absolute;
  top: -13px;
  right: -10px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  z-index: 999;
  padding: 0 5px;
  font-size: 10px;
  line-height: 16px;
  height: 20px;
  border: 2px solid white;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/*
 * Fail-safe rendering. The saved FormCraft HTML is patched server-side to mark
 * page 1 active, but these rules also guarantee a visible first page while JS
 * is delayed. !important is intentional so theme/page-builder CSS cannot hide
 * the complete form before the navigation script initializes.
 */
.form-live .fc-form .form-page
{
  display: none !important;
}
.form-live:not(.fc-multi-page-ready) .fc-form .form-page.active,
.form-live:not(.fc-multi-page-ready) .fc-form .form-page:first-of-type,
.form-live.fc-multi-page-ready .fc-form .form-page.active
{
  display: block !important;
}

html body .formcraft-css .page-next
{
  position: relative;
}
html body .formcraft-css .prev-next .spin-cover
{
  display: none;
  font-size: 1.7em;
  background-color: white;
}
html body .formcraft-css .prev-next .loading .spin-cover,
html body .formcraft-css .prev-prev .loading .spin-cover
{
  display: block;
  position: absolute;
  text-align: center;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
html body .formcraft-css .prev-next .loading .spin-cover .formcraft-loader,
html body .formcraft-css .prev-prev .loading .spin-cover .formcraft-loader
{
  position: absolute;
  top: 50%;
  margin-top: -8px;
}
html body .formcraft-css .fc-pagination-cover
{
  display: block;
}
html body .formcraft-css .form-cover .prev-next
{
  display: block;
  max-width: 100%;
}
html body .formcraft-css div.fc-pagination-1,
html body .formcraft-css div.fc-pagination-0,
html body .formcraft-css .form-cover .prev-next-1,
html body .formcraft-css .form-cover .prev-next-0
{
  display: none;
}

@media (max-width: 668px) {
  html { min-height: 100%; }
  html .form-cover
  {
    position: static;
    min-height: 100%;
    padding-bottom: 49px;
    -webkit-perspective: none;
    perspective: none;
  }
  html .form-live { position: static; }
  html .dedicated-page .formcraft-css .form-cover .prev-next
  {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e8e8e8;
    z-index: 999;
  }
  html .formcraft-css .fc-pagination
  {
    position: static !important;
    max-width: 100%;
    width: 100%;
    overflow: auto;
    padding: 0;
    margin: 0 auto !important;
    text-align: left;
  }
  html .formcraft-css .fc-pagination > div::after
  {
    content: none !important;
    display: none !important;
  }
  html .formcraft-css .fc-pagination > div
  {
    border-right: 1px solid #e8e8e8;
    text-align: center;
    padding: 0;
  }
  html .formcraft-css .fc-pagination > div:last-child { border-right-width: 0; }
  html .formcraft-css .fc-pagination .page-name
  {
    font-size: .95em;
    padding: 15px 17px;
    width: auto;
  }
  html .formcraft-css .fc-pagination .page-number { display: none; }
  html .formcraft-css .fc-pagination-cover { height: auto; }
  html body .formcraft-css.form-live { padding-top: 0; }
}


/* 1.5.4 premium progress connector. The exact per-form Base Color is injected
 * inline by formcraft3_integrated_mp_critical_css(). */
html body .formcraft-css .fc-pagination > div:after {
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: currentColor;
  box-shadow: 0 2px 7px rgba(0,0,0,.18);
  opacity: .78;
  transition: border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}
html body .formcraft-css .fc-pagination > div.active:after {
  opacity: .95;
  box-shadow: 0 2px 9px rgba(0,0,0,.22);
}


/* 1.5.5: embedded multi-page progress always stays in normal document flow.
 * The old standalone add-on adds `.fixed` while scrolling; these rules make
 * that class harmless even if its legacy scroll handler is still cached. */
html body .formcraft-css.form-live .fc-pagination,
html body .formcraft-css.form-live .fc-pagination.fixed {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
html body .formcraft-css.form-live .fc-pagination-cover {
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important;
}
/* Keep the connector crisp and elevated without turning the whole step bar
 * into a sticky overlay. Per-form Base Color is injected inline. */
html body .formcraft-css.form-live .fc-pagination > div:after {
  border-top-width: 2px !important;
  box-shadow: 0 2px 5px rgba(24, 39, 55, .24), 0 0 8px rgba(24, 39, 55, .08) !important;
}
