* { 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 #34d399;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #34d399;
}

.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;
}

.payrun-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payrun-item {
  background: #0f172a;
  padding: 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payrun-info {
  flex: 1;
}

.payrun-info h3 {
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.payrun-info p {
  color: #94a3b8;
  font-size: 0.875rem;
}

.payrun-amount {
  color: #34d399;
  font-size: 1.5rem;
  font-weight: bold;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-draft {
  background: #64748b;
  color: #0f172a;
}

.status-approved {
  background: #60a5fa;
  color: #0f172a;
}

.status-paid {
  background: #34d399;
  color: #0f172a;
}

.status-pending {
  background: #fbbf24;
  color: #0f172a;
}
