.web-footer,
.page-footer,
.powered-by {
  display: none !important;
}

body[data-path="login"] .page-card-head {
  margin-bottom: 28px;
  max-width: none !important;
  min-height: 0;
  overflow: visible !important;
  text-align: center;
}

body[data-path="login"] .page-card-head:not(.gkl-login-branded) > * {
  display: none !important;
}

body[data-path="login"] .page-card-head:not(.gkl-login-branded)::before {
  background: url("/assets/flo/images/gkl_login_logo.png") center / contain no-repeat;
  content: "";
  display: block;
  height: 210px;
  margin: 8px auto 20px;
  width: min(320px, 72vw);
}

body[data-path="login"] .page-card-head:not(.gkl-login-branded)::after {
  color: #111;
  content: "GKL Support";
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

body[data-path="login"] .page-card-head .gkl-login-logo {
  display: block !important;
  height: auto !important;
  margin: 8px auto 20px !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain !important;
  width: min(320px, 72vw) !important;
}

body[data-path="login"] .gkl-login-title {
  color: #111;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
}

body[data-path="login"] .gkl-login-subtitle {
  color: #555;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

body[data-path="login"] .for-login > .sign-up-message {
  display: none !important;
}

.gkl-header-logo-link {
  border-radius: 2px;
  height: 36px;
  left: 50%;
  position: absolute;
  top: 23px;
  transform: translateX(-50%);
  width: 78px;
  z-index: 6;
}

.gkl-header-logo-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(127, 208, 218, 0.75);
  outline: none;
}

body[data-path="login"] {
  background: var(--bg-light-gray) !important;
  padding-bottom: 86px !important;
}

body[data-path="login"]::after {
  background: #fff !important;
  bottom: 0;
  content: "";
  height: 86px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 0;
}

body[data-path="login"]::before {
  bottom: 28px;
  color: #777;
  content: "Built with flo";
  font-size: 14px;
  font-style: italic;
  line-height: 1;
  position: fixed;
  right: 24px;
  z-index: 2;
}

body[data-path="login"] .page-content-wrapper {
  padding-bottom: 54px !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 576px) {
  body[data-path="login"] {
    padding-bottom: 48px !important;
  }

  body[data-path="login"]::after {
    height: 48px;
  }

  body[data-path="login"]::before {
    bottom: 17px;
    right: 16px;
  }

  body[data-path="login"] .page-content-wrapper {
    padding-bottom: 32px !important;
  }

  body[data-path="login"] .page-card-head .gkl-login-logo,
  body[data-path="login"] .page-card-head:not(.gkl-login-branded)::before {
    margin-top: 6px !important;
    width: min(280px, 78vw) !important;
  }

  body[data-path="login"] .gkl-login-title,
  body[data-path="login"] .page-card-head:not(.gkl-login-branded)::after {
    font-size: 26px;
  }
}
