.ggseg3d-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ggseg3d-tooltip {
  position: absolute;
  display: none;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
  z-index: 1000;
  max-width: 250px;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.ggseg3d-tooltip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.ggseg3d-colorbar {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  color: #333;
  pointer-events: none;
}

.ggseg3d-colorbar-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 12px;
}

.ggseg3d-colorbar-label {
  text-align: center;
}

.ggseg3d-colorbar-gradient {
  width: 20px;
  height: 150px;
  border: 1px solid #ccc;
  border-radius: 2px;
}
