.status-page {
  padding-top: 48px;
  padding-bottom: 72px;
}

.status-page .container {
  max-width: 940px;
}

.status-updated {
  color: #616161;
  font-size: 14px;
  margin: 0 0 20px;
}

.status-updated.is-stale,
.status-error,
.status-empty {
  color: #c2410c;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 28px;
  border: 1px solid #99999924;
}

.status-banner-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-banner-label {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #011140;
}

.status-banner.is-operational {
  background: #ecfdf3;
}

.status-banner.is-operational .status-banner-dot {
  background: #16a34a;
}

.status-banner.is-degraded {
  background: #fff7ed;
}

.status-banner.is-degraded .status-banner-dot {
  background: #ff7f11;
}

.status-banner.is-outage {
  background: #fef2f2;
}

.status-banner.is-outage .status-banner-dot {
  background: #e70e02;
}

.status-section {
  margin-bottom: 36px;
}

.status-section-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #011140;
  margin: 0 0 16px;
}

.status-region-block {
  margin-bottom: 28px;
}

.status-region-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #011140;
  margin: 0 0 12px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.status-card {
  border: 1px solid #d9deea;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.status-card.is-down {
  border-color: #fecaca;
  background: #fff8f8;
}

.status-card.is-relay {
  border-style: dashed;
  background: #f8f7ff;
}

.status-card.is-relay.is-down {
  background: #fff8f8;
}

.status-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.status-card-name {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #011140;
  line-height: 1.3;
}

.status-card-relay {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #4338ca;
  background: #eef2ff;
  white-space: nowrap;
}

.status-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill.is-up::before,
.status-pill.is-down::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-load-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.status-pill.is-up {
  color: #15803d;
  background: #dcfce7;
}

.status-pill.is-down {
  color: #b91c1c;
  background: #fee2e2;
}

.status-pill.is-low {
  color: #15803d;
  background: #dcfce7;
}

.status-pill.is-medium {
  color: #c2410c;
  background: #ffedd5;
}

.status-pill.is-high {
  color: #b91c1c;
  background: #fee2e2;
}

@media screen and (max-width: 767px) {
  .status-banner-label {
    font-size: 16px;
  }

  .status-grid {
    grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
    gap: 10px;
  }
}
