/* ============================================================================
   Login surface — clean centered card on a soft aurora background.
   ----------------------------------------------------------------------------
   The previous login page stuck the sign-in CTA below a column of feature
   bullets and a mockup of the queue/chat. SMEs reading top-to-bottom hit
   the CTA only after scrolling. This file replaces it with a single
   centered card whose primary action is the Google button (centered, hero
   weight) and a soft animated gradient backdrop.
   ============================================================================ */

body.login {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: var(--font-sans, "Inter", system-ui, -apple-system, sans-serif);
  color: #0f172a;
  background: #0b1224;            /* fallback before the blobs paint */
  overflow: hidden;
}

/* ── Background ──────────────────────────────────────────────────────── */
.login__bg {
  position: fixed; inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 800px at 8%  12%, rgba(99,102,241,0.18), transparent 60%),
    radial-gradient(1000px 700px at 92% 18%, rgba(14,165,233,0.16), transparent 60%),
    radial-gradient(900px  600px at 50% 100%, rgba(168,85,247,0.20), transparent 65%),
    linear-gradient(180deg, #060a18 0%, #0b1330 100%);
}
.login__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: blob-drift 22s ease-in-out infinite;
}
.login__blob--a {
  top: -120px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, #6366f1 0%, transparent 65%);
  animation-delay: 0s;
}
.login__blob--b {
  bottom: -160px; right: -140px;
  width: 580px; height: 580px;
  background: radial-gradient(circle at 60% 60%, #0ea5e9 0%, transparent 65%);
  animation-delay: -8s;
}
.login__blob--c {
  top: 40%; left: 55%;
  width: 480px; height: 480px;
  background: radial-gradient(circle at 50% 50%, #a855f7 0%, transparent 65%);
  animation-delay: -14s;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 40px) scale(0.96); }
}

/* ── Card ────────────────────────────────────────────────────────────── */
.login__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 44px 40px 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(2, 6, 23, 0.45),
    0 4px 14px rgba(2, 6, 23, 0.25);
  text-align: center;
  backdrop-filter: blur(6px);
}

.login__mark {
  width: 64px; height: 64px;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: block;
  /* Same treatment as the appbar + boot logos: the PNG's own canvas
     is the badge, ``cover`` crops the navy 4:3 margins to fill the
     1:1 box without letterboxing. Light-grey surround + padding
     used to make the crest look like a thumbnail inside a frame; the
     dark surround now reads as a single branded badge. */
  background: #0f1228;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 8px 24px rgba(15, 23, 42, 0.18);
}

.login__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.login__sub {
  margin: 0 0 28px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* ── Google CTA ──────────────────────────────────────────────────────── */
.login__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.25);
}
.login__cta:hover {
  background: #111827;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.30);
}
.login__cta:active { transform: translateY(0); }
.login__cta-g {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: #ffffff;
  padding: 3px;
}

.login__legal {
  margin: 22px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .login__card { padding: 36px 24px 28px; border-radius: 16px; }
  .login__title { font-size: 20px; }
}
