/* Status page components (shell + public-pages.css for layout) */
.status-overall {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #222;
  background: #111;
  margin-bottom: 20px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--muted);
}

.status-overall.is-ok .status-dot {
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
}

.status-overall.is-degraded .status-dot {
  background: #eab308;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.35);
}

.status-overall.is-error .status-dot {
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.status-overall-label {
  font-size: 15px;
  font-weight: 600;
}

.status-overall-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.status-grid {
  display: grid;
  gap: 10px;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #222;
  background: #111;
}

.status-row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.status-row-name {
  font-size: 14px;
  font-weight: 500;
}

.status-row-detail {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #333;
}

.status-pill.ok {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.status-pill.degraded,
.status-pill.skipped {
  color: #fde68a;
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.08);
}

.status-pill.error {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
}

.status-latency {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.status-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 24px 0 10px;
}

.status-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-loading {
  color: var(--muted);
  font-size: 14px;
}

.status-error-banner {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fecaca;
  font-size: 13px;
  margin-bottom: 16px;
}

.status-error-banner[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .status-row {
    grid-template-columns: 1fr;
  }
  .status-latency {
    justify-self: start;
  }
}
