/* NHQA login page — split-screen layout
 * 2026-10-13 — Fluid typography + padding so one layout serves phones
 * through 32-inch monitors. All sizes bounded via clamp(), split-view
 * opens at 768 px (previously 992 px) so tablets get the brand pane.
 */

.auth-shell {
  min-height: 100vh; display: flex; background: var(--brand-white);
}
.auth-aside {
  flex: 1; background: var(--brand-imperial); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 4vw, 72px) clamp(24px, 4vw, 72px);
  position: relative; overflow: hidden;
}
.auth-aside::before {
  content: ''; position: absolute; inset: -40% -40% auto auto;
  width: clamp(260px, 32vw, 520px); height: clamp(260px, 32vw, 520px); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(33,189,220,.35), transparent 60%);
  pointer-events: none;
}
.auth-aside::after {
  content: ''; position: absolute; inset: auto auto -30% -30%;
  width: clamp(200px, 24vw, 400px); height: clamp(200px, 24vw, 400px); border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(243,112,10,.28), transparent 60%);
  pointer-events: none;
}
.auth-aside .brand-block      { position: relative; z-index: 1; }
.auth-aside .brand-block img  { max-height: clamp(44px, 5vw, 72px); height: auto; }
/* 2026-10-13 — Wordmark (parent-org name) replaces the standalone acronym
 * as the primary brand on the login splash. Kept the legacy .acronym
 * class below as a safety net for any override that still references it. */
.auth-aside .brand-block .wordmark {
  font-size: clamp(1.2rem, .95rem + 1vw, 1.75rem);
  font-weight: 700; letter-spacing: .5px; margin-top: 8px; line-height: 1.15;
}
.auth-aside .brand-block .acronym {
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem);
  font-weight: 700; letter-spacing: 2px; margin-top: 8px;
}
.auth-aside .brand-block .acronym .accent { color: var(--brand-pumpkin); }
.auth-aside .pitch    { position: relative; z-index: 1; max-width: 480px; }
.auth-aside .pitch h1 {
  /* Reuses the global display scale so the splash headline keeps the
   * same visual weight as other hero titles across the app. */
  font-size: var(--fs-display, clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem));
  font-weight: 700; line-height: 1.2; margin-bottom: 14px;
}
.auth-aside .pitch p  {
  color: rgba(255,255,255,.78);
  font-size: clamp(.95rem, .85rem + .4vw, 1.15rem);
}
.auth-aside .footer-line {
  position: relative; z-index: 1; color: rgba(255,255,255,.5);
  font-size: var(--fs-small, clamp(.8rem, .76rem + .2vw, .9rem));
}

.auth-form {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 3vw, 56px) clamp(16px, 2vw, 32px);
}
.auth-form .auth-card {
  width: 100%;
  /* Card scales with viewport so a 1920 screen doesn't orphan the
   * form on an ocean of whitespace, but a 360 phone still fits. */
  max-width: clamp(320px, 32vw + 160px, 540px);
}
/* Inline logo at the top of the form card — visible on every screen
 * size. The side .auth-aside hides under 768 px (see below), so
 * without this the logo would disappear on phones. */
.auth-form .auth-card-logo {
  text-align: center;
  margin-bottom: 18px;
}
.auth-form .auth-card-logo img {
  max-height: clamp(52px, 5vw + 20px, 84px);
  max-width: clamp(180px, 20vw + 100px, 260px);
  height: auto; width: auto;
}
.auth-form .auth-card-acronym {
  display: inline-block;
  padding: 8px 14px;
  background: var(--brand-imperial);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
}
/* 2026-10-13 — Secondary wordmark on the form card for logo-less installs. */
.auth-form .auth-card-wordmark {
  display: inline-block;
  color: var(--brand-imperial);
  font-weight: 700;
  letter-spacing: .3px;
  font-size: clamp(1.1rem, .95rem + .5vw, 1.5rem);
}
/* 2026-10-13 — Pumpkin accent bar at the top of the sign-in card.
 * Ties the form visually to the aside's pumpkin blob and gives the
 * card a crisp edge instead of a disconnected white rectangle. */
.auth-form .auth-card {
  position: relative;
  padding-top: 10px;
}
.auth-form .auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-pumpkin) 0%, var(--brand-imperial) 100%);
}
.auth-form h2 {
  color: var(--brand-imperial); font-weight: 700; margin-bottom: 6px;
  font-size: var(--fs-h1, clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem));
}
.auth-form .auth-sub   {
  color: var(--brand-muted); margin-bottom: 24px;
  font-size: var(--fs-body, clamp(.9rem, .85rem + .3vw, 1rem));
}
.auth-form .form-label { font-weight: 600; color: var(--brand-imperial); font-size: var(--fs-small, .9rem); }
.auth-form .btn-block  {
  width: 100%; padding: 11px; font-weight: 600;
  font-size: var(--fs-body, 1rem);
}
.auth-form .auth-meta  {
  margin-top: 18px; text-align: center; color: var(--brand-muted);
  font-size: var(--fs-small, .9rem);
}

/* Split layout now opens at tablet width (768 px). Below that, the
 * brand pane hides and the form owns the screen. */
@media (max-width: 767.98px) {
  .auth-aside { display: none; }
  .auth-form  { padding: clamp(16px, 4vw, 32px) clamp(12px, 3vw, 24px); min-height: 100vh; }
  .auth-form .auth-card-logo img {
    max-height: clamp(60px, 15vw, 96px);
    max-width:  clamp(200px, 55vw, 280px);
  }
}
