body.has-sticky-footer.auth-fade-page {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

body.has-sticky-footer.auth-fade-page::before,
body.has-sticky-footer.auth-fade-page::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

body.has-sticky-footer.auth-fade-page::before {
  top: var(--site-header-height, 127px);
  height: 210px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 36%,
    rgba(255, 255, 255, 0) 100%
  );
}

body.has-sticky-footer.auth-fade-page::after {
  bottom: 0;
  height: 240px;
  background: linear-gradient(
    0deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 36%,
    rgba(255, 255, 255, 0) 100%
  );
}

body.has-sticky-footer.auth-fade-page > .site-header,
body.has-sticky-footer.auth-fade-page > [data-shared-header] {
  position: relative;
  z-index: 50;
  overflow: visible;
}

body.has-sticky-footer.auth-fade-page > main,
body.has-sticky-footer.auth-fade-page > .site-footer,
body.has-sticky-footer.auth-fade-page > footer.site-footer,
body.has-sticky-footer.auth-fade-page > [data-shared-footer] {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  body.has-sticky-footer.auth-fade-page::before {
    top: var(--site-header-height-mobile, 72px);
    height: 120px;
  }

  body.has-sticky-footer.auth-fade-page::after {
    height: 150px;
  }
}
