/* Status page live metrics styling */

.metric-card {
  padding: 1.5rem;
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 8px;
  background: rgba(11, 13, 20, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(11, 13, 20, 0.7);
  cursor: pointer;
}

.metric-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
  letter-spacing: -0.02em;
}

.metric-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  font-weight: 600;
}

.metric-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.status-degraded {
  border-color: rgba(255, 193, 7, 0.5);
  background: rgba(255, 193, 7, 0.05);
}

.incident-item {
  padding: 1rem;
  border-left: 4px solid #dc2626;
  background: rgba(220, 38, 38, 0.05);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.incident-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.incident-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: #fff;
}

.incident-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  font-weight: 600;
}

.incident-resolved {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.incident-resolved .incident-status {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
}

.slo-section {
  padding: 2rem;
  border: 1px solid rgba(124, 92, 255, 0.15);
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.02);
  margin-top: 2rem;
}

.slo-header {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.slo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(124, 92, 255, 0.1);
}

.slo-row:last-child {
  border-bottom: none;
}

.slo-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.slo-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .metric-value {
    font-size: 1.25rem;
  }

  .slo-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
