body.auth {
  min-height: 100dvh;
  background: #07142b;
}

.auth-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100dvh - 64px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 15, 34, .08) 0%, rgba(4, 15, 34, .04) 46%, rgba(5, 17, 39, .56) 73%, rgba(5, 16, 37, .93) 100%),
    linear-gradient(0deg, rgba(3, 13, 31, .58) 0%, transparent 42%),
    url('/static/gateac-port-login-v2.png') center center / cover no-repeat;
}

.auth-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 4vw, 64px);
  background: none;
  pointer-events: none;
}

.auth-kicker {
  max-width: min(680px, 60vw);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}

.auth-rail {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  width: clamp(488px, 29vw, 560px);
  min-height: calc(100dvh - 64px);
  padding: 32px 42px;
  background: linear-gradient(90deg, transparent 0%, rgba(4, 16, 38, .48) 18%, rgba(4, 16, 38, .9) 100%);
}

.auth-card {
  width: min(440px, 100%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
}

@media (max-width: 760px) {
  .auth-main {
    min-height: calc(100dvh - 58px);
    background-position: 38% center;
  }

  .auth-visual {
    padding: 22px 18px;
  }

  .auth-kicker {
    max-width: 100%;
  }

  .auth-rail {
    justify-self: stretch;
    align-items: center;
    width: auto;
    min-height: calc(100dvh - 58px);
    padding: 24px 18px 150px;
    background: rgba(4, 16, 38, .5);
  }

  .auth-card {
    width: min(430px, 100%);
  }
}
