
.tooltip {
  position: absolute;
  background: #fff;
  border: 1px solid #999;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 14px;
  pointer-events: auto;
  z-index: 9999;
  min-width: 180px;
}
.tooltip .close {
  float: right;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}

.tooltip h4 {
  cursor: move;
  user-select: none;
  margin: 0 0 5px;
}

.tooltip.pinned {
  border: 2px solid #007acc;
  box-shadow: 0 0 8px rgba(0, 122, 204, 0.5);
}