/* System status page (/status). Data comes from Webscepts Connect. */
.wsStatusPage .wsSection { padding-top: 0; }
.wsStatusPageCard { box-sizing: border-box; width: 100%; max-width: 980px; margin: 0 auto; padding: clamp(18px, 3vw, 32px); background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04); }

.wsStatusPageBanner { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #ecfdf5; color: #065f46; }
.wsStatusPageBanner strong { display: block; font-size: 19px; color: #0b1a38; }
.wsStatusPageBanner span:not(.wsStatusPageDot) { display: block; margin-top: 2px; font-size: 13px; color: #64748b; }
.wsStatusPageBanner.isdegraded { background: #fffbeb; }
.wsStatusPageBanner.isoutage { background: #fef2f2; }
.wsStatusPageBanner.isunknown { background: #f1f5f9; }

.wsStatusPageDot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
.isdegraded > .wsStatusPageDot { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }
.isoutage > .wsStatusPageDot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); }
.isunknown > .wsStatusPageDot { background: #94a3b8; box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.2); }

.wsStatusPageMetrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.wsStatusPageMetric { padding: 18px 12px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0; text-align: center; }
.wsStatusPageMetric strong { display: block; font-size: 24px; font-weight: 800; color: #0b1a38; }
.wsStatusPageMetric span { display: block; margin-top: 4px; font-size: 12.5px; color: #64748b; }

.wsStatusPageHeading { margin: 28px 0 12px; font-size: 17px; color: #0b1a38; }
.wsStatusPageServers { display: grid; gap: 12px; }
.wsStatusServer { padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 14px; }
.wsStatusServerHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wsStatusServerHead strong { font-size: 15px; color: #0b1a38; }
.wsStatusServerLoc { margin-left: 8px; font-size: 12.5px; color: #64748b; }
.wsStatusServerState { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #059669; }
.wsStatusServerState.isoutage { color: #dc2626; }
.wsStatusServerState .wsStatusPageDot { width: 9px; height: 9px; box-shadow: none; }

.wsStatusBars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 34px; }
.wsStatusBar { display: block; min-width: 0; border-radius: 3px; background: #10b981; }
.wsStatusBar.ispartial { background: #f59e0b; }
.wsStatusBar.isdown { background: #ef4444; }
.wsStatusBar.isnone { background: #e2e8f0; }
.wsStatusServerFoot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: #64748b; }

.wsStatusLegend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12px; color: #64748b; }
.wsStatusLegend > span { display: inline-flex; align-items: center; gap: 6px; }
.wsStatusLegend .wsStatusBar { width: 10px; height: 10px; }

.wsStatusPageEmpty { margin: 18px 0 0; font-size: 14.5px; color: #475569; }
.wsStatusPageFoot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.wsStatusPageFoot > div strong { display: block; font-size: 15px; color: #0b1a38; }
.wsStatusPageFoot > div span { font-size: 13.5px; color: #64748b; }
.wsStatusPageFoot .wsCtaBtn { color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 10px; }
.wsStatusPageFoot .wsCtaBtn:hover, .wsStatusPageFoot .wsCtaBtn:focus-visible { color: #fff; background: #0052cc; }

@media (max-width: 640px) {
  .wsStatusPageMetrics { grid-template-columns: minmax(0, 1fr); }
  .wsStatusBars { gap: 2px; height: 28px; }
  .wsStatusServerFoot > span:first-child, .wsStatusServerFoot > span:last-child { display: none; }
}
