.guest-body--login {
  min-height: 100dvh;
  padding: clamp(20px, 3vw, 40px);
  overflow-x: hidden;
  color: #142033;
  background: #fff;
}

.auth-login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  width: min(1180px, 100%);
  min-height: min(720px, calc(100dvh - clamp(40px, 6vw, 80px)));
  align-items: center;
  margin: auto;
}

.auth-login-brand {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 48px;
  will-change: transform;
}

.guest-logo-lockup--login {
  position: relative;
  display: grid;
  width: min(330px, 78%);
  justify-content: stretch;
  margin: 0;
  isolation: isolate;
}

.guest-logo-lockup--login img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: auto;
}

.guest-logo-lockup--login::before,
.guest-logo-lockup--login::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.guest-logo-lockup--login::before {
  inset: -38% -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 156, 181, .18), rgba(39, 73, 166, .05) 42%, transparent 70%);
  opacity: 0;
}

.guest-logo-lockup--login::after {
  top: 50%;
  right: -18%;
  left: -18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53, 71, 197, .2), #49b7cb, rgba(53, 71, 197, .2), transparent);
  box-shadow: 0 0 18px rgba(73, 183, 203, .6);
  opacity: 0;
  transform: scaleX(.05);
}

.auth-login-divider {
  width: 1px;
  height: min(460px, 58dvh);
  justify-self: center;
  background: linear-gradient(180deg, transparent, #dce2ea 12%, #cfd7e3 50%, #dce2ea 88%, transparent);
  transform-origin: center;
}

.guest-card--login {
  width: min(420px, calc(100% - 48px));
  justify-self: center;
  padding: 36px;
  border: 1px solid #e2e7ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(19, 36, 64, .11);
}

.guest-card--login .auth-head .eyebrow {
  color: #267d91;
  letter-spacing: .1em;
}

.guest-card--login .auth-head h2 {
  margin-top: 7px;
  color: #17243a;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.guest-card--login .auth-head p {
  margin-top: 9px;
  line-height: 1.5;
}

.guest-card--login .stack-form {
  gap: 16px;
  margin-top: 26px;
}

.guest-card--login .stack-form label > span {
  color: #35445a;
  font-size: .78rem;
  font-weight: 750;
}

.guest-card--login .stack-form input {
  min-height: 48px;
  border-color: #cfd8e5;
  border-radius: 9px;
  background: #fbfcfe;
}

.guest-card--login .stack-form input:focus {
  border-color: #3594a8;
  outline: 3px solid rgba(53, 148, 168, .16);
}

.guest-card--login .stack-form .btn-primary {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 9px;
  background: #1f5f70;
  box-shadow: 0 10px 24px rgba(31, 95, 112, .18);
}

.guest-card--login .stack-form .btn-primary:hover {
  background: #174d5c;
}

@media (prefers-reduced-motion: no-preference) {
  .guest-logo-lockup--login img {
    animation: auth-logo-warp 1.38s cubic-bezier(.22, .78, .18, 1) both;
    will-change: filter, opacity, transform;
  }

  .guest-logo-lockup--login::before {
    animation: auth-logo-glow 1.12s ease-out both;
  }

  .guest-logo-lockup--login::after {
    animation: auth-logo-streak .82s cubic-bezier(.2, .8, .2, 1) .14s both;
  }

  .auth-login-divider {
    animation: auth-divider-reveal .56s cubic-bezier(.3, .8, .2, 1) .72s both;
  }

  .guest-card--login {
    animation: auth-form-reveal .58s cubic-bezier(.2, .78, .18, 1) .88s both;
  }

  @keyframes auth-logo-warp {
    0% { opacity: 0; filter: blur(15px); transform: scaleX(.12) scaleY(1.3); }
    15% { opacity: 1; filter: blur(7px); transform: scaleX(.42) scaleY(1.16); }
    34% { opacity: 1; filter: blur(0); transform: scaleX(1.06) scaleY(.98); }
    52% { transform: scale(1); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
  }

  @keyframes auth-logo-glow {
    0%, 100% { opacity: 0; transform: scale(.55); }
    24% { opacity: 1; transform: scale(1.08); }
    62% { opacity: .34; transform: scale(1.22); }
  }

  @keyframes auth-logo-streak {
    0% { opacity: 0; transform: scaleX(.05); }
    28% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1.14); }
  }

  @keyframes auth-divider-reveal {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
  }

  @keyframes auth-form-reveal {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 721px) {
  .auth-login-brand {
    animation: auth-brand-shift 1.38s cubic-bezier(.22, .78, .18, 1) both;
  }

  @keyframes auth-brand-shift {
    0%, 44% { transform: translateX(calc(50% + .5px)); }
    100% { transform: translateX(0); }
  }
}

@media (max-width: 720px) {
  .guest-body--login {
    display: block;
    padding: 28px 18px;
    overflow-y: auto;
  }

  .auth-login-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 22px;
  }

  .auth-login-brand {
    padding: 28px 20px 12px;
  }

  .guest-logo-lockup--login {
    width: min(260px, 72vw);
  }

  .guest-logo-lockup--login::before { inset: -28% -5%; }
  .guest-logo-lockup--login::after { right: 0; left: 0; }

  .auth-login-divider {
    width: min(220px, 60vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, #cfd7e3 50%, transparent);
  }

  .guest-card--login {
    width: min(420px, 100%);
    padding: 25px 22px;
  }

}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .auth-login-divider {
    animation-name: auth-divider-reveal-horizontal;
  }

  @keyframes auth-divider-reveal-horizontal {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
  }
}

@media (max-width: 390px) {
  .guest-body--login { padding: 18px 12px 24px; }
  .auth-login-stage { gap: 16px; }
  .auth-login-brand { padding-top: 16px; }
  .guest-card--login { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .guest-body--login *,
  .guest-body--login *::before,
  .guest-body--login *::after {
    animation: none !important;
    transition: none !important;
  }
}
