/* ==========================================================================
   login.css — lm unified login page.
   One two-column auth card (dark navy brand panel left + form panel right)
   reused by the lm console and every app login. Loaded AFTER theme.css on
   login pages only.
   ========================================================================== */

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(37, 99, 235, .18), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(124, 58, 237, .14), transparent 55%),
    var(--bg);
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 940px;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---------- Brand panel (left) ---------- */
.auth-brand {
  position: relative;
  color: #fff;
  padding: 44px 40px;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(96, 165, 250, .35), transparent 55%),
    linear-gradient(150deg, #111c2e, #0b1220 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-brand .brand-mark { display: flex; align-items: center; gap: 12px; }
.auth-brand .logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: #fff; font-weight: 800; font-size: 20px;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .4);
}
.auth-brand .word { font-size: 16px; font-weight: 700; line-height: 1.2; color: #fff; }
.auth-brand .word small { display: block; color: #94a3b8; font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.auth-brand h2 { color: #fff; font-size: 26px; margin: 26px 0 12px; letter-spacing: -.01em; }
.auth-brand .tagline { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }
.auth-feature { list-style: none; margin: 22px 0 0; padding: 0; }
.auth-feature li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-size: 13px; padding: 7px 0; }
.auth-feature .tick {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: rgba(5, 150, 105, .25); color: #34d399;
  display: grid; place-items: center; font-size: 11px;
}
.auth-foot { color: #64748b; font-size: 12px; }

/* ---------- Form panel (right) ---------- */
.auth-form { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 22px; margin: 0 0 4px; }
.auth-form .auth-sub { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.auth-form form { display: flex; flex-direction: column; }
.auth-form label { margin: 14px 0 6px; }
.auth-form button { margin-top: 22px; width: 100%; padding: 11px; }
.auth-error {
  background: var(--danger-bg); border: 1px solid var(--danger-line); color: var(--danger);
  border-radius: var(--radius-sm); padding: 11px 13px; font-size: 13px; margin-bottom: 14px;
}
.auth-hint { margin-top: 18px; font-size: 12px; color: var(--muted-2); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .auth-card { grid-template-columns: 1fr; max-width: 440px; }
  .auth-brand { padding: 28px 24px; }
  .auth-brand h2 { font-size: 21px; }
  .auth-brand .tagline, .auth-feature, .auth-foot { display: none; }
  .auth-form { padding: 32px 28px; }
}
