* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, sans-serif;
  background: #12131a;
  color: #e8e8f0;
  margin: 0;
  padding: 24px;
}
h1 { font-size: 20px; margin-bottom: 16px; }
.card {
  background: #1c1e29;
  border-radius: 10px;
  padding: 24px;
  max-width: 420px;
  margin: 80px auto;
}
input {
  width: 100%;
  padding: 10px;
  margin: 8px 0 16px;
  border-radius: 6px;
  border: 1px solid #333648;
  background: #0f1017;
  color: #e8e8f0;
}
button {
  background: #6c5ce7;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
button:hover { background: #5a4bd1; }
button.reject { background: #d64545; }
button.reject:hover { background: #b93838; }
button.small { padding: 6px 12px; font-size: 13px; margin-right: 6px; }
.error { color: #ff6b6b; font-size: 13px; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #262838; font-size: 13px; }
th { color: #9a9cb0; font-weight: 600; }
.badge { padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge.pending { background: #4a3c00; color: #ffce54; }
.badge.approved { background: #0f3d1e; color: #52d675; }
.badge.rejected { background: #4a1414; color: #ff6b6b; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot.online { background: #52d675; }
.dot.offline { background: #555; }
.tabs { margin-bottom: 12px; }
.tabs button { background: #262838; margin-right: 8px; }
.tabs button.active { background: #6c5ce7; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.deviceid { font-family: monospace; font-size: 13px; }
