body {
  font-family: system-ui, Arial;
  padding: 20px;
  background: #0f172a; /* deep slate */
  color: #e5e7eb;
}

h1 {
  margin-bottom: 5px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 20px;
}

/* Controls */
.controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input, select {
  padding: 8px;
  font-size: 14px;
  background: #1e293b;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 6px;
}

input::placeholder {
  color: #64748b;
}

/* Stats cards */
.stats {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.card {
  background: #1e293b;
  padding: 15px;
  border-radius: 12px;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.card span {
  font-size: 26px;
  font-weight: bold;
  color: #f1f5f9;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #334155;
}

th {
  background: #020617;
  cursor: pointer;
  color: #cbd5f5;
}

tr:hover {
  background: #334155;
}

/* Badges */
.badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
}

.badge.red {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.badge.yellow {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
