.viewport-controls {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
}

.viewport-controls .toolbar-btn {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #555 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  transition: background 0.2s !important;
}

.viewport-controls .toolbar-btn:hover {
  background: #444 !important;
}

.viewport-controls .toolbar-btn:active {
  background: #555 !important;
}


#canvas {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background: #222 !important;
  overflow: hidden !important;
  cursor: grab !important;
}

#canvas.panning {
  cursor: grabbing !important;
}

#connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}


.thought {
  z-index: 2 !important;
  position: absolute !important;
}


#canvas.panning,
#canvas.panning * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}


#zoom-indicator {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}