/* ── Status page ──────────────────────────────────────── */
body {
  background: radial-gradient(circle at center, #0A0A0C 0%, #050505 60%, #1a0202 100%);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}
::selection { background-color: #E50914; color: white; }

.scanline-effect::after {
  content: "";
  position: fixed; top: 0; left: 0;
  width: 100%; height: 10px;
  background: linear-gradient(to bottom, transparent, rgba(229,9,20,0.04), transparent);
  animation: scanline 10s linear infinite;
  pointer-events: none; z-index: 100;
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border: 1px solid #2B2B30;
  background: rgba(20, 20, 23, 0.6);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease;
}
.status-row:hover { border-color: rgba(229,9,20,0.3); }

.status-operational {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #22c55e;
}
.status-dot-green {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.uptime-bar { display: flex; gap: 2px; align-items: flex-end; }
.uptime-block { width: 6px; height: 20px; background: #22c55e; opacity: 0.7; }
.uptime-block.dimmed { opacity: 0.15; }

.metric-card {
  background: rgba(20,20,23,0.6);
  border: 1px solid #2B2B30;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease;
}
.metric-card:hover { border-color: rgba(229,9,20,0.3); }

.incident-row {
  padding: 1rem 0;
  border-bottom: 1px solid #2B2B30;
}
.incident-row:last-child { border-bottom: none; }

.uptime-counter {
  font-family: 'Clash Display', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #22c55e;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E50914;
  margin-bottom: 1rem;
}

.log-line {
  font-size: 0.7rem;
  color: #8A8A93;
  line-height: 1.8;
}
.log-ok   { color: rgba(34,197,94,0.5); }
.log-ts   { color: rgba(138,138,147,0.6); }
.log-msg  { color: #8A8A93; }

/* ── Utility classes (replace inline style attributes) ── */
.metric-label {
  font-size: 0.65rem;
  color: #8A8A93;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.component-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.component-desc {
  font-size: 0.65rem;
  color: #8A8A93;
  margin-top: 2px;
}
.uptime-counter-white { color: #fff; }
.uptime-counter-red { color: #E50914; }
.uptime-ms { font-size: 1.2rem; color: #8A8A93; }
.status-all-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8A93;
}
.status-all-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.1em;
}
.timeline-labels {
  font-size: 0.6rem;
  color: #8A8A93;
  letter-spacing: 0.1em;
}
.incident-title { font-size: 0.75rem; font-weight: 700; }
.incident-clear { font-size: 0.65rem; color: #22c55e; letter-spacing: 0.1em; }
.incident-desc { font-size: 0.65rem; color: #8A8A93; }
.maintenance-title { font-size: 0.75rem; font-weight: 700; color: #8A8A93; }
.maintenance-date { font-size: 0.65rem; color: #8A8A93; letter-spacing: 0.1em; }
.terminal-header {
  font-size: 0.65rem;
  color: #8A8A93;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
