/* ---------------------------------------------------------------------
   Login — split hero layout
   Left: brand/illustration panel (the "image theme"). Right: the form.
   Builds on the tokens in style.css — no color values redefined here.
------------------------------------------------------------------------ */

html, body { height: 100%; }

/* Full-bleed body for the split-hero auth pages — deliberately does NOT
   reuse .login-page, whose flex/justify-content/padding rules were built
   for the old centered card and shrink this layout to its content width,
   leaving the page background visible on both sides. */
body.auth-page {
  margin: 0;
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
}

/* ---------- Left: illustrated brand panel ---------- */
.auth-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 15%, rgba(193, 39, 45, 0.22), transparent 42%),
    radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 65%, #1c3a7a 100%);
  color: #EAF0FF;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auth-hero__brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.auth-hero__brand .brand-mark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.auth-hero__brand strong { display: block; font-family: var(--font-display); font-size: 20px; color: #fff; }
.auth-hero__brand span { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #B9CBFF; }

.auth-hero__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}
.auth-hero__art svg { width: 100%; max-width: 340px; height: auto; }

.auth-hero__copy { position: relative; z-index: 2; max-width: 400px; }
.auth-hero__copy h2 {
  font-size: 26px; color: #fff; line-height: 1.25; margin-bottom: 10px;
}
.auth-hero__copy p { color: #C7D2EE; font-size: 14px; line-height: 1.6; }

.auth-hero__stats {
  position: relative; z-index: 2;
  display: flex; gap: 28px; margin-top: 30px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14);
}
.auth-hero__stats div strong { display: block; font-family: var(--font-display); font-size: 20px; color: #fff; }
.auth-hero__stats div span { font-size: 11.5px; color: #AEBEE8; text-transform: uppercase; letter-spacing: 0.05em; }

/* faint decorative watermark pattern behind everything */
.auth-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  z-index: 1;
}

/* ---------- Right: form panel ---------- */
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 32px 24px;
}

.auth-form-panel .login-card { box-shadow: none; border: none; background: transparent; padding: 0; max-width: 360px; }

.auth-mobile-brand { display: none; align-items: center; gap: 10px; margin-bottom: 22px; }
@media (max-width: 900px) {
  .auth-mobile-brand { display: flex; }
  .auth-mobile-brand .brand-mark { background: var(--primary-tint); border-color: var(--border); }
  .auth-mobile-brand strong { font-family: var(--font-display); font-size: 18px; color: var(--primary-dark); }
  .auth-mobile-brand span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
}