/* ========== Base / variables ========== */
:root{
  --majorelle: #4F46E5;
  --aero:      #00B8D9;
  --emerald:   #34D399;
  --coral:     #FB774C;
  --charcoal:  #334155;

  /* Light theme variables */
  --bg: #f9fafb;
  --surface: #f8fafc;
  --muted: #6b7280;
  --text: #0f172a;
  --accent: var(--majorelle);
  --primary-contrast: #ffffff;
  --card-shadow: 0 6px 18px rgba(17,24,39,0.06);
  --glass: rgba(255,255,255,0.6);
}

/* Base styles */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  color: #111827;
}

div.status-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* container */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:2rem;
}

/* header */
.site-header{
  background:transparent;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner{
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:space-between;
  padding:0.5rem 0;
}
.brand{
  display:flex;
  gap:0.75rem;
  align-items:center;
  text-decoration:none;
  color:var(--text);
}
.brand-logo{
  width:40px;height:40px;border-radius:8px;
  box-shadow: var(--card-shadow);
}
.brand-name{font-weight:700}

.status-page {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 500px;
}

/* Indicator base */
.status-indicator {
  width: 20px;
  height: 20px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

/* Message base */
.status-message {
  font-size: 1.75rem;
  margin: 0.5rem 0;
}

.status-subtitle {
  font-size: 1rem;
  color: #374151;
}

/* ========================= */
/* STATES */
/* ========================= */

/* Operational */
div.status-operational .status-indicator {
  background: #10b981;          /* green */
  box-shadow: 0 0 12px #10b98188;
}
div.status-operational .status-message {
  color: #065f46;
}

/* Degraded Performance */
div.status-degraded .status-indicator {
  background: #f59e0b;          /* amber */
  box-shadow: 0 0 12px #f59e0b88;
}
div.status-degraded .status-message {
  color: #92400e;
}
div.status-degraded .status-message::after {
  content: " – Degraded performance";
}

/* Partial Outage */
div.status-partial .status-indicator {
  background: #f87171;          /* red-orange */
  box-shadow: 0 0 12px #f8717188;
}
div.status-partial .status-message {
  color: #7f1d1d;
}
div.status-partial .status-message::after {
  content: " – Partial outage";
}

/* Major Outage */
div.status-outage .status-indicator {
  background: #dc2626;          /* red */
  box-shadow: 0 0 12px #dc262688;
}
div.status-outage .status-message {
  color: #7f1d1d;
}
div.status-outage .status-message::after {
  content: " – Major outage";
}
