:root{
  --bg:#F3F5F7;
  --panel:#ffffff;
  --border:#E2E8F0;
  --text:#1f2937;
  --muted:#6b7280;

  --brand:#2C5E8F;
  --brand-dark:#244E75;
  --brand-light:#3C74A8;

  --danger:#e11d48;
  --ok:#16a34a;

  --r:14px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}

.topbar{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:16px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:var(--shadow);
}

.brand h1{
  margin:0;
  font-size:18px;
  color:var(--brand);
}

.brand small{
  color:var(--muted);
}

.btn{
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--border);
  background:white;
  cursor:pointer;
  font-weight:600;
  text-decoration:none;
  color:var(--text);
  transition:.15s ease;
}

.btn:hover{
  background:#f9fafb;
}

.btn.primary{
  background:var(--brand);
  border-color:var(--brand);
  color:white;
}

.btn.primary:hover{
  background:var(--brand-dark);
}

.card{
  margin-top:20px;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}

.card .head{
  padding:16px 20px;
  border-bottom:1px solid var(--border);
}

.card .body{
  padding:20px;
}

.label{
  font-size:13px;
  color:var(--muted);
  display:block;
  margin-bottom:6px;
}

.input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background:white;
}

.input:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(44,94,143,.15);
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:12px;
  border-bottom:1px solid var(--border);
  text-align:left;
}

.table th{
  font-size:12px;
  text-transform:uppercase;
  color:var(--muted);
  letter-spacing:.5px;
}

.table tr:hover{
  background:#f9fafb;
}

.login-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.login-card{
  width:400px;
}
