/* Inline styles for status.html — preserved from original */

/* ── Status Page Custom Styles ──────────────────────────────────────────── */
:root {
  --status-green:  #16a34a;
  --status-yellow: #d97706;
  --status-red:    #dc2626;
  --status-bg:     #f9f8ff;
  --card-border:   #e0ddf8;
  --pulse-color:   #16a34a;
}

/* Hero banner */
.status-hero {
  background: linear-gradient(135deg, #1a1035 0%, #2d1b6e 100%);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.status-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236A47ED' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.status-hero h1 { color:#fff; font-size:42px; font-weight:800; margin-bottom:12px; }
.status-hero p  { color:rgba(255,255,255,.75); font-size:17px; max-width:560px; }

/* Global status badge */
.global-status-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(22,163,74,.15); border: 1.5px solid rgba(22,163,74,.4);
  border-radius: 100px; padding: 8px 20px;
  color: #16a34a; font-weight: 700; font-size: 14px;
  margin-bottom: 20px;
}
.global-status-badge .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pulse-color);
  box-shadow: 0 0 0 0 rgba(22,163,74,.4);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.global-status-badge.degraded { background:rgba(217,119,6,.15); border-color:rgba(217,119,6,.4); color:#d97706; --pulse-color:#d97706; }
.global-status-badge.outage   { background:rgba(220,38,38,.15); border-color:rgba(220,38,38,.4); color:#dc2626; --pulse-color:#dc2626; }

/* Stats row */
.stat-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 14px; padding: 24px 28px;
  text-align: center; transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: 0 8px 32px rgba(106,71,237,.12); }
.stat-card .stat-value { font-size: 38px; font-weight: 800; color: #1a1035; line-height: 1; }
.stat-card .stat-label { font-size: 13px; color: #666; margin-top: 6px; font-weight: 500; }
.stat-card .stat-sub   { font-size: 11px; color: #999; margin-top: 3px; }

/* Component cards */
.component-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 12px; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; transition: box-shadow .2s;
}
.component-card:hover { box-shadow: 0 4px 20px rgba(106,71,237,.09); }
.component-name { font-weight: 600; font-size: 15px; color: #1a1035; }
.component-sub  { font-size: 12px; color: #888; margin-top: 2px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700;
}
.pill-green  { background: #dcfce7; color: #16a34a; }
.pill-yellow { background: #fef3c7; color: #d97706; }
.pill-red    { background: #fee2e2; color: #dc2626; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Uptime bar */
.uptime-bar-wrap { width: 180px; }
.uptime-bar-label { font-size: 11px; color: #888; text-align:right; margin-bottom:4px; }
.uptime-bar { height: 6px; background: #f0eeff; border-radius: 3px; overflow: hidden; }
.uptime-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6A47ED, #16a34a); }

/* ISP table */
.isp-table { width:100%; border-collapse:separate; border-spacing:0; }
.isp-table thead th {
  background: #1a1035; color: #fff; padding: 12px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing:.08em;
}
.isp-table thead th:first-child { border-radius: 10px 0 0 0; }
.isp-table thead th:last-child  { border-radius: 0 10px 0 0; }
.isp-table tbody tr:nth-child(even) { background: #f9f8ff; }
.isp-table tbody td { padding: 13px 16px; border-bottom: 1px solid #f0eeff; font-size:14px; }
.isp-table tbody tr:last-child td { border-bottom: none; }
.isp-flag { font-size: 20px; margin-right: 8px; }
.chart-label { font-size:11px; color:#888; position:absolute; }

/* 90-day uptime timeline */
.uptime-timeline { display: flex; gap: 2px; align-items: flex-end; height: 40px; }
.uptime-day {
  flex: 1; border-radius: 2px; cursor: pointer;
  transition: opacity .15s;
  position: relative;
}
.uptime-day:hover { opacity: .8; }
.uptime-day[data-status="operational"] { background: #16a34a; height: 100%; }
.uptime-day[data-status="degraded"]    { background: #d97706; height: 70%; }
.uptime-day[data-status="outage"]      { background: #dc2626; height: 100%; }
.uptime-day-tooltip {
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%); background: #1a1035; color:#fff;
  font-size: 10px; white-space: nowrap; padding: 4px 8px;
  border-radius: 4px; pointer-events:none; opacity:0; transition:opacity .15s;
  z-index: 10;
}
.uptime-day:hover .uptime-day-tooltip { opacity:1; }
.incident-body.open { max-height:600px; padding:16px 20px; }
.timeline-dot.resolved  { background:#16a34a; }
.timeline-dot.update    { background:#6A47ED; }
.timeline-dot.identified{ background:#d97706; }
.timeline-dot.monitoring{ background:#d97706; }
.timeline-dot.triggered { background:#dc2626; }

/* Section headers */
.section-tag-sm { font-size:12px; font-weight:800; color:#6A47ED; text-transform:uppercase; letter-spacing:.1em; margin-bottom:8px; display:block; }
.section-divider { border:none; border-top:1px solid #f0eeff; margin:40px 0; }

/* Responsive */
@media(max-width:768px) {
  .status-hero h1 { font-size:28px; }
  .stat-card .stat-value { font-size:28px; }
  .uptime-bar-wrap { width:100%; margin-top:10px; }
  .component-card { flex-direction:column; align-items:flex-start; gap:10px; }
  .isp-table { font-size:12px; }
  .isp-table tbody td, .isp-table thead th { padding: 9px 10px; }
}
