body {
  font-family: Arial, sans-serif;
  background: #f5f6fa;
  margin: 0;
  padding: 20px;
}

header {
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 180px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

h2 {
  margin-top: 40px;
}

/* Status badges */
.status {
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

.status-ok {
  background: #d1fae5;
  color: #065f46;
}

.status-down {
  background: #fee2e2;
  color: #7f1d1d;
}

.status-unknown {
  background: #e5e7eb;
  color: #374151;
}

/* Latency highlighting */
.latency-fast {
  color: #065f46;
  font-weight: bold;
}

.latency-medium {
  color: #92400e;
  font-weight: bold;
}

.latency-slow {
  color: #7f1d1d;
  font-weight: bold;
}

#latency-chart {
  width: 100% !important;
  height: 300px !important;
}
