/* ============================================================
   AUTH SCREENS (Login / Forgot Password / Access Denied)
   Net-new to the prototype — styled to match its navy/amber design
   system using the same CSS custom properties from site.css.
   ============================================================ */
.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-app);
  font-family: 'Inter Sub', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 24px;
}

.auth-shell {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface-0);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-hero {
  background: var(--surface-1);
  color: var(--ink-900);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--surface-border);
}
.auth-hero::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--amber-glow);
}
.auth-hero .brand-mark {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.auth-hero .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.auth-hero .brand-mark-full {
  width: 100%; max-width: 300px; height: auto;
  justify-content: flex-start;
}
.auth-hero .brand-mark-full img { width: 100%; height: auto; object-fit: contain; }
.auth-hero h2 { font-size: 22px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-900); }
.auth-hero p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; margin: 0; max-width: 320px; }
.auth-hero .auth-feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.auth-hero .auth-feature { display: flex; align-items: center; gap: 10px; font-size: 12.8px; color: var(--ink-700); }
.auth-hero .auth-feature svg { width: 16px; height: 16px; color: var(--amber-500); flex-shrink: 0; }
.auth-hero .auth-footnote { font-size: 11px; color: var(--ink-400); margin-top: 32px; }

.auth-form-panel { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form-panel h1 { font-size: 22px; margin: 0 0 4px; color: var(--ink-900); }
.auth-form-panel .auth-sub { font-size: 13px; color: var(--ink-500); margin: 0 0 28px; }

.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.auth-field input[type="text"], .auth-field input[type="email"], .auth-field input[type="password"] {
  width: 100%; height: 42px; padding: 0 13px;
  border: 1px solid var(--surface-border-strong); border-radius: var(--r-md);
  font-size: 13.5px; color: var(--ink-900); background: var(--surface-1);
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 3px var(--amber-glow); }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 40px; }
.auth-toggle-visibility {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--ink-400);
  display: flex; align-items: center; padding: 4px;
}
.auth-toggle-visibility svg { width: 18px; height: 18px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 12.8px; }
.auth-remember { display: flex; align-items: center; gap: 8px; color: var(--ink-700); }
.auth-row a { color: var(--info-blue); font-weight: 600; }

.auth-validation-summary { color: var(--seal-red); font-size: 12.8px; margin-bottom: 14px; background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.25); border-radius: var(--r-md); padding: 10px 12px; }
.auth-field span.field-validation-error, .auth-field span.text-danger { display: block; color: var(--seal-red); font-size: 11.5px; margin-top: 5px; }

.auth-submit { width: 100%; height: 44px; }
.auth-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.8px; color: var(--ink-500); margin-top: 22px; }
.auth-demo-note { margin-top: 22px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--surface-border); font-size: 11.5px; color: var(--ink-500); line-height: 1.6; }

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
}
