body {
  font-family: Arial, sans-serif;
  background-color: #f4f5f7;
  margin: 0;
  color: #1f2933;
}

header {
  background-color: #111827;
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta span {
  margin-left: 1rem;
  font-size: 0.9rem;
}

section {
  margin: 1.5rem 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.card h2 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid #d2d6dc;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

th {
  background-color: #f0f4f8;
}

tr:nth-child(even) {
  background-color: #f9fafb;
}

.status-healthy {
  color: #0f9d58;
}

.status-warning {
  color: #f4b400;
}

.status-error,
.status-failed {
  color: #db4437;
}

.status-success {
  color: #0f9d58;
}

.status-retrying {
  color: #f4b400;
}

.status-queued,
.status-skipped {
  color: #1f2933;
}

/* Better status highlighting */
tr.status-success td:nth-child(4) {
  background-color: #d4edda;
  color: #155724;
  font-weight: bold;
}

tr.status-failed td:nth-child(4),
tr.status-error td:nth-child(4) {
  background-color: #f8d7da;
  color: #721c24;
  font-weight: bold;
}

tr.status-retrying td:nth-child(4) {
  background-color: #fff3cd;
  color: #856404;
  font-weight: bold;
}

tr.status-queued td:nth-child(4) {
  background-color: #d1ecf1;
  color: #0c5460;
  font-weight: bold;
}

/* Make timestamps more compact */
td {
  white-space: nowrap;
}
