:root {
  --bg: #eef4fb;
  --bg-2: #ffffff;
  --text: #17253f;
  --heading: #0f1d38;
  --muted: #61708d;
  --border: rgba(15, 23, 42, 0.08);
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --panel: rgba(255,255,255,0.96);
  --shadow: 0 24px 56px rgba(15,23,42,0.10);
}
*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,0.10), transparent 26%),
    radial-gradient(circle at bottom right, rgba(14,165,233,0.08), transparent 24%),
    linear-gradient(180deg,#f6f9fe,#eef4fb);
  color:var(--text);
}
.login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns: minmax(340px,1.05fr) minmax(360px,.95fr);
}
.login-hero{
  background: linear-gradient(180deg, #2f5fcb 0%, #2349ab 34%, #1d3f99 62%, #17357d 100%);
  color:#fff;
  padding:56px 54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.brand-mark{
  width:68px;height:68px;border-radius:20px;display:grid;place-items:center;
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.18);
  font-size:1.2rem;font-weight:800;letter-spacing:.04em;
}
.eyebrow{
  margin-top:20px;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(255,255,255,0.72);
}
.login-hero h1{
  margin:14px 0 12px;
  font-size:2.4rem;
  line-height:1.08;
  letter-spacing:-0.03em;
}
.login-hero p{
  max-width:560px;
  color:rgba(255,255,255,0.82);
  line-height:1.65;
}
.hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.pill{
  min-height:34px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.14);
  color:#fff;
  font-size:.82rem;
}
.demo-accounts{
  margin-top:28px;
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
}
.demo-accounts__title{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(255,255,255,0.74);
  margin-bottom:12px;
}
.demo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.demo-grid div{
  display:grid;
  gap:4px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,0.08);
}
.demo-grid strong{font-size:.94rem}
.demo-grid span{font-size:.82rem;color:rgba(255,255,255,0.8)}

.login-card-wrap{
  display:grid;
  place-items:center;
  padding:24px;
}
.login-card{
  width:min(460px, calc(100vw - 32px));
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:28px;
}
.login-card__eyebrow{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
}
.login-card h2{
  margin:10px 0 8px;
  font-size:1.8rem;
  line-height:1.08;
  color:var(--heading);
}
.login-card p{
  margin:0;
  color:var(--muted);
}
.form { display:grid; gap:14px; margin-top:24px; }
label { display:grid; gap:8px; font-size:13px; color:var(--muted); }
input {
  width:100%;
  border-radius:14px;
  border:1px solid var(--border);
  background:#f8fbff;
  color:#17253f;
  padding:12px 14px;
  font-size:15px;
}
button {
  border:0;
  border-radius:14px;
  padding:13px 16px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
button.primary {
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;
}
button.ghost {
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
}
.row { display:flex; gap:10px; flex-wrap:wrap; }
.note, .error, .ok {
  border-radius:14px;
  padding:12px 14px;
  margin-top:16px;
  font-size:14px;
  line-height:1.5;
}
.note { background:#f8fbff; border:1px solid var(--border); color:var(--muted); }
.error { background:rgba(220,38,38,0.08); border:1px solid rgba(220,38,38,0.18); color:#991b1b; }
.ok { background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.18); color:#1d4ed8; }

@media (max-width: 1020px){
  .login-shell{grid-template-columns:1fr}
  .login-hero{padding:34px 24px}
  .login-card-wrap{padding:24px 16px 40px}
}
