/* Status dots */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.online { background: #22c55e; box-shadow: 0 0 6px #22c55e80; }
.status-dot.errored { background: #ef4444; box-shadow: 0 0 6px #ef444480; }
.status-dot.stopped { background: #ef4444; }
.status-dot.stopping { background: #eab308; box-shadow: 0 0 6px #eab30880; }
.status-dot.launching { background: #eab308; box-shadow: 0 0 6px #eab30880; }

/* Progress bars */
.progress-bar {
  height: 6px;
  border-radius: 3px;
  background: #313244;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.progress-fill.green { background: #22c55e; }
.progress-fill.yellow { background: #eab308; }
.progress-fill.orange { background: #f97316; }
.progress-fill.red { background: #ef4444; }

/* Process rows */
.process-row {
  cursor: pointer;
  transition: background 0.15s;
}
.process-row:hover {
  background: #31324480;
}
.process-row td {
  border-bottom: 1px solid #313244;
}

/* Expanded detail panel */
.detail-panel {
  background: #1a1a2e;
}
.detail-panel td {
  border-bottom: 1px solid #313244;
}

/* Action buttons */
.action-btn {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.action-btn.restart { background: #2563eb; color: white; }
.action-btn.restart:hover { background: #1d4ed8; }
.action-btn.stop { background: #dc2626; color: white; }
.action-btn.stop:hover { background: #b91c1c; }
.action-btn.start { background: #16a34a; color: white; }
.action-btn.start:hover { background: #15803d; }
.action-btn.logs { background: #45475a; color: #e2e8f0; }
.action-btn.logs:hover { background: #585b70; }
.action-btn.flush { background: #45475a; color: #e2e8f0; }
.action-btn.flush:hover { background: #585b70; }
.action-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Alert banner */
.alert-banner {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-banner.critical { background: #7f1d1d; color: #fca5a5; border-bottom: 1px solid #991b1b; }
.alert-banner.warning { background: #78350f; color: #fcd34d; border-bottom: 1px solid #92400e; }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.modal-overlay.hidden { display: none; }

/* Log tabs */
.log-tab {
  background: #313244;
  color: #a6adc8;
  cursor: pointer;
  transition: all 0.15s;
}
.log-tab.active {
  background: #585b70;
  color: white;
}

/* Log content */
#log-content {
  background: #11111b;
  color: #a6adc8;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Restart count warning */
.restart-warn { color: #f97316; font-weight: 600; }
.restart-critical { color: #ef4444; font-weight: 600; }

/* System card */
.system-card {
  background: #1e1e2e;
  border: 1px solid #313244;
  border-radius: 8px;
  padding: 16px;
}
