/* Guest account screens use the same navy water and teal highlights as the public page. */
.auth-scene {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #081d33;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100dvh;
  gap: 0;
  color: #142b37;
}
whiz-login-water,
whiz-login-water canvas,
.auth-tide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
whiz-login-water {
  z-index: -2;
  overflow: hidden;
  display: block;
  background: #092236;
}
.auth-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #061a2c14 10%, #071c3155 90%);
  z-index: -1;
  pointer-events: none;
}
.auth-tide {
  background:
    radial-gradient(ellipse at 12% 62%, #17616e, transparent 55%),
    repeating-radial-gradient(ellipse at 88% 0, transparent 0 6%, #3a75803b 7%, transparent 10%),
    linear-gradient(120deg, #08192d, #0c344e, #081a31);
  animation: auth-swell 21s ease-in-out infinite alternate;
}
whiz-login-water canvas:not([hidden]) + .auth-tide {
  display: none;
}
.auth-scene .auth-brand {
  justify-content: center;
  margin: 0;
  color: #eff9f6;
  text-decoration: none;
  font-size: 1.45rem;
  gap: 0.55rem;
}
.auth-scene .auth-brand img {
  width: 37px;
  height: 37px;
}
.auth-scene .auth-card {
  width: min(420px, 100%);
  margin: 1.1rem auto 0.8rem;
  padding: clamp(1.35rem, 3.5vw, 2.1rem);
  border: 1px solid #e9f1f1;
  border-radius: 17px;
  background: #fbfcfa;
  box-shadow: 0 24px 80px #01122066;
  text-align: left;
}
.auth-scene h1 {
  margin: 0 0 0.35rem;
  letter-spacing: -0.047em;
  font-size: 1.8rem;
}
.auth-card > p {
  color: #48606b;
  line-height: 1.55;
  font-size: 0.94rem;
}
.google-signin {
  width: 100%;
  min-height: 44px;
  border: 1px solid #747775;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #1f1f1f;
  background: white;
  font:
    500 15px/1.3 Arial,
    sans-serif;
}
.google-signin img {
  object-fit: contain;
  width: 18px;
  height: 18px;
}
.google-signin:hover {
  background: #f4f7fc;
}
.google-signin:disabled {
  cursor: wait;
  opacity: 0.7;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 0.85rem;
  color: #53656c;
  font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #d9e1df;
}
.auth-scene .auth-card form {
  gap: 0.7rem;
}
.auth-scene .auth-card .primary {
  min-height: 43px;
  background: #0c514e;
  border-color: #0c514e;
}
.auth-scene .auth-card .primary:hover {
  background: #114844;
}
.auth-scene .auth-options {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.auth-scene .auth-options button {
  min-height: 34px;
  padding: 0.2rem 0;
  color: #1a5c58;
}
.auth-sample {
  border-top: 1px solid #d9e2df;
  margin-top: 0.7rem;
  padding-top: 0.9rem;
  text-align: center;
}
.auth-sample button {
  width: 100%;
  justify-content: center;
}
.auth-motion {
  background: #0c2838c9;
  color: #e8fbf2;
  border: 1px solid #a1c9c499;
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  min-height: 35px;
}
.auth-motion[hidden] {
  display: none;
}
.auth-motion:disabled {
  opacity: 1;
}
.auth-scene > .auth-brand:focus-visible,
.auth-motion:focus-visible {
  outline: 3px solid #abf5d5;
  outline-offset: 4px;
}
html[data-motion='off'] .auth-tide,
.auth-scene.resting .auth-tide {
  animation-play-state: paused;
}
@keyframes auth-swell {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.15) translateX(1%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-tide {
    animation: none;
  }
}
@media (forced-colors: active) {
  whiz-login-water {
    visibility: hidden;
  }
  .auth-scene {
    background: Canvas;
  }
  .auth-scene .auth-brand {
    color: LinkText;
  }
}
