:root {
  --bg: #1a1a1a;
  --card: rgba(33, 36, 37, 0.55);
  --card-solid: #212425;
  --outline: rgba(255, 255, 255, 0.10);
  --outline-bright: rgba(255, 255, 255, 0.18);

  --text: #ffffff;
  --text-dim: #a3a3a3;
  --text-faint: #6b6b6b;

  --blue: #3b82f6;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.nav {
  border-bottom: 1px solid var(--outline);
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { height: 20px; width: auto; }
.brand-word { font-size: 15px; font-weight: 600; }
.accent-text { color: #60a5fa; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.btn-ghost {
  background: var(--card-solid);
  border: 1px solid var(--outline-bright);
  color: var(--text);
}
.btn-ghost:hover { background: #26292a; }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.banner.ok { border-color: rgba(34, 197, 94, 0.3); }
.banner.issue { border-color: rgba(239, 68, 68, 0.35); }

.banner-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}

.banner-dot::after {
  content: "";
  width: 8px; height: 8px;
}

.banner.ok .banner-dot { background: var(--green); }
.banner.issue .banner-dot { background: var(--red); }

.panel {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 12px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--outline);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

.overall-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card-solid);
  border: 1px solid var(--outline);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
}

.overall-pill.ok .pill-dot { background: var(--green); }
.overall-pill.issue .pill-dot { background: var(--red); }

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--outline);
}
.service-row:last-child { border-bottom: none; }

.service-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.service-row.ok .service-dot { background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.service-row.down .service-dot { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,0.6); }

.service-name { font-size: 14.5px; font-weight: 600; }
.service-desc { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }

.service-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}

.service-row.ok .service-status { color: var(--green); }
.service-row.down .service-status { color: var(--red); }

.refresh-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.refresh-btn {
  background: var(--card-solid);
  border: 1px solid var(--outline-bright);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
}
.refresh-btn:hover { color: var(--text); background: #26292a; }

.footer {
  text-align: center;
  padding: 30px 24px 50px;
  font-size: 12.5px;
  color: var(--text-faint);
}
