:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15,23,42,0.08);
  --primary: #111827;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: var(--text);
}
.loginShell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 32px;
}
.loginHero, .loginCard {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(15,23,42,0.08);
}
.loginHero { padding: 40px; }
.loginCard { padding: 32px; max-width: 520px; width: 100%; justify-self: end; align-self: center; }
.loginBrand { display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.loginLogo { width:40px; height:40px; border-radius:12px; background: linear-gradient(135deg, #111827, #2563eb); }
.loginBrandName { font-weight: 800; letter-spacing: 0.02em; }
.loginEyebrow { color: var(--accent); font-weight: 700; margin-bottom: 10px; }
h1 { font-size: 40px; line-height: 1.05; margin: 0 0 16px; }
p { color: var(--muted); line-height: 1.6; }
.loginFeatureGrid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top: 28px; }
.loginFeature { padding:16px; border:1px solid var(--border); border-radius:18px; background:#fff; }
.loginFeatureTitle { font-weight: 700; margin-bottom: 8px; }
.loginFeatureText { color: var(--muted); font-size: 14px; line-height: 1.45; }
.loginTags { display:flex; flex-wrap:wrap; gap:10px; margin-top: 24px; }
.loginTags span, .apiHint { display:inline-flex; padding:8px 12px; border-radius:999px; background:#eef2ff; color:#3730a3; font-size:12px; font-weight:700; }
.loginSub { margin-top: -4px; }
.loginForm { display:grid; gap: 16px; margin-top: 22px; }
.field span { display:block; margin-bottom:8px; font-weight:700; }
.field input { width:100%; border:1px solid #dbe3ef; border-radius:14px; padding:14px 16px; font-size:16px; }
.phoneInputWrap { display:flex; align-items:center; border:1px solid #dbe3ef; border-radius:14px; overflow:hidden; background:#fff; }
.phonePrefix { padding: 0 14px; color: var(--muted); font-weight:700; }
.phoneInputWrap input { border:0; border-left:1px solid #e5e7eb; border-radius:0; }
.actionsRow { display:flex; gap:12px; flex-wrap:wrap; }
.btn { border:0; border-radius:14px; padding:14px 18px; font-weight:800; cursor:pointer; }
.btnPrimary { background: var(--primary); color:#fff; }
.btnGhost { background:#fff; color:var(--text); border:1px solid #dbe3ef; }
.statusBar { margin-top:18px; display:flex; justify-content:space-between; gap:10px; padding:14px 16px; border-radius:16px; background:#f8fafc; border:1px solid var(--border); }
.statusText { color: var(--muted); }
.statusBadge { font-weight:800; color:#334155; }
.loginFoot { margin-top:18px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:14px; }
.loginFoot a { color: var(--accent); text-decoration:none; font-weight:700; }
@media (max-width: 980px) {
  .loginShell { grid-template-columns: 1fr; padding: 18px; }
  .loginCard { justify-self: stretch; max-width: none; }
  .loginFeatureGrid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
}
