.api-status-indicator {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  color: #374151;
}

.api-status-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s;
}

/* Connected state */
.api-status-indicator--connected .api-status-indicator__dot {
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

/* Fallback state */
.api-status-indicator--fallback .api-status-indicator__dot {
  background: #f59e0b;
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.4);
}

/* Dark mode */
html.dark-mode .api-status-indicator {
  background: rgba(26, 31, 38, 0.92);
  border-color: #2d3640;
  color: #d1d5db;
}
