/* Status page — extends seo-page.css */
.lp-status {
  max-width: 52rem;
  margin: 0 auto;
}

.lp-status__overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--lp-radius-lg);
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-elevated);
  box-shadow: var(--lp-shadow-sm);
}

.lp-status__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
  animation: lp-status-pulse 2s ease-in-out infinite;
}

.lp-status__dot--active { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); animation: none; }
.lp-status__dot--degraded { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }
.lp-status__dot--offline { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); animation: none; }
.lp-status__dot--unknown { background: #94a3b8; box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.2); }

@keyframes lp-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.lp-status__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-status__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--lp-muted);
}

.lp-status__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .lp-status__grid { grid-template-columns: repeat(3, 1fr); }
}

.lp-status__loc {
  padding: 1.25rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
}

.lp-status__loc-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.lp-status__loc-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.lp-status__loc-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
}

.lp-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.lp-status__badge--active { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.lp-status__badge--degraded { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.lp-status__badge--offline { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.lp-status__badge--unknown { background: rgba(148, 163, 184, 0.15); color: #64748b; }

.lp-status__checks {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--lp-text-secondary);
}

.lp-status__checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.375rem 0;
  border-top: 1px solid var(--lp-border);
}

.lp-status__checks li:first-child { border-top: none; padding-top: 0; }

.lp-status__check-ok { color: #15803d; font-weight: 600; }
.lp-status__check-fail { color: #b91c1c; font-weight: 600; }

.lp-status__service {
  padding: 1rem 1.25rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  margin-bottom: 1.5rem;
}

.lp-status__service h2 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.lp-status__service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--lp-text-secondary);
}

.lp-status__loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--lp-muted);
}

.lp-status__loading i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--lp-accent);
}

.lp-status__error {
  text-align: center;
  padding: 2rem;
  border-radius: var(--lp-radius-lg);
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #b91c1c;
  font-size: 0.9375rem;
}
