.public-status-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.status-header {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  color: white;
}

.status-header.status-operational {
  background: linear-gradient(135deg, #10b981, #059669);
}

.status-header.status-degraded {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.status-header.status-major {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.status-header h1 {
  margin: 0 0 10px 0;
  font-size: 2rem;
  font-weight: 600;
}

.status-header .last-updated {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  margin: 0 auto 15px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

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

.status-section h2 {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
}

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

.status-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-left: 4px solid #9ca3af;
  transition: transform 0.2s, box-shadow 0.2s;
}

.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.status-card.online {
  border-left-color: #10b981;
}

.status-card.offline, .status-card.error {
  border-left-color: #ef4444;
}

.status-card.unknown {
  border-left-color: #9ca3af;
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 1.25rem;
  font-weight: bold;
}

.status-card.online .status-icon {
  background: #d1fae5;
  color: #059669;
}

.status-card.offline .status-icon,
.status-card.error .status-icon {
  background: #fee2e2;
  color: #dc2626;
}

.status-card.unknown .status-icon {
  background: #f3f4f6;
  color: #6b7280;
}

.status-info {
  flex: 1;
}

.status-info h3 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #111827;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.online {
  background: #d1fae5;
  color: #059669;
}

.status-badge.offline, .status-badge.error {
  background: #fee2e2;
  color: #dc2626;
}

.status-badge.unknown {
  background: #f3f4f6;
  color: #6b7280;
}

.response-time {
  margin-left: 8px;
  font-size: 0.75rem;
  color: #6b7280;
}

.status-time {
  font-size: 0.8rem;
  color: #9ca3af;
  white-space: nowrap;
}

.status-footer {
  text-align: center;
  padding: 20px;
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .status-grid {
    grid-template-columns: 1fr;
  }
  .status-header h1 {
    font-size: 1.5rem;
  }
}
