* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #60a5fa;
}

.subtitle {
  color: #94a3b8;
}

.loading {
  text-align: center;
  padding: 4rem;
  font-size: 1.25rem;
  color: #94a3b8;
}

.error {
  background: #7f1d1d;
  color: #fca5a5;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid;
}

.stat-card.stat-primary { border-color: #60a5fa; }
.stat-card.stat-success { border-color: #34d399; }
.stat-card.stat-info { border-color: #a78bfa; }
.stat-card.stat-warning { border-color: #fbbf24; }

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-card.stat-primary .stat-value { color: #60a5fa; }
.stat-card.stat-success .stat-value { color: #34d399; }
.stat-card.stat-info .stat-value { color: #a78bfa; }
.stat-card.stat-warning .stat-value { color: #fbbf24; }

.stat-label {
  color: #94a3b8;
  font-size: 0.875rem;
}

.card {
  background: #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #60a5fa;
}

.card h2 {
  color: #e2e8f0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.dept-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dept-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.dept-name {
  color: #e2e8f0;
  font-weight: 500;
}

.dept-count {
  background: #60a5fa;
  color: #0f172a;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
}
