/* Status page — Meridian-inspired, Browns Digital */

.status-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--bd-a-nav-h, 72px) + 24px);
  box-sizing: border-box;
}

.status-shell {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 56px;
  box-sizing: border-box;
}

.status-banner {
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.status-banner--info,
.status-banner--maintenance {
  background: rgba(53, 92, 255, 0.08);
  border-color: rgba(53, 92, 255, 0.15);
}

.status-banner--warning {
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.15);
}

.status-banner__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
}

.status-banner__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #424245;
}

.status-hero {
  text-align: center;
  margin-bottom: 40px;
}

.status-hero__indicator {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 6px rgba(52, 199, 89, 0.15);
}

.status-hero__indicator--operational { background: #34c759; }
.status-hero__indicator--degraded { background: #ff9f0a; box-shadow: 0 0 0 6px rgba(255, 159, 10, 0.15); }
.status-hero__indicator--offline { background: #ff3b30; box-shadow: 0 0 0 6px rgba(255, 59, 48, 0.15); }

.status-hero__title {
  margin: 0 0 6px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}

.status-hero__meta {
  margin: 0;
  font-size: 13px;
  color: #86868b;
}

.status-group {
  margin-bottom: 36px;
}

.status-group__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86868b;
  margin: 0 0 14px;
}

.status-component {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px 20px 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.status-component__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.status-component__name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
}

.status-component__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
}

.status-component__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill--operational { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.status-pill--degraded { background: rgba(255, 159, 10, 0.12); color: #b45309; }
.status-pill--offline { background: rgba(255, 59, 48, 0.12); color: #d70015; }

.status-uptime {
  font-size: 12px;
  color: #86868b;
  font-variant-numeric: tabular-nums;
}

.status-bars {
  display: flex;
  gap: 2px;
  height: 28px;
  align-items: stretch;
}

.status-bar {
  flex: 1;
  min-width: 2px;
  border-radius: 3px;
  background: #e8e8ed;
}

.status-bar--operational { background: #34c759; }
.status-bar--degraded { background: #ff9f0a; }
.status-bar--offline { background: #ff3b30; }

.status-incidents__empty {
  font-size: 15px;
  color: #6e6e73;
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.status-incident-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-incident {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.status-incident__date {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-incident__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

.status-incident__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6e6e73;
}

.status-footer {
  margin-top: auto;
}

.status-footer code {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .status-component__head {
    flex-direction: column;
  }

  .status-component__meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .status-bars {
    height: 22px;
  }
}
