.action-buttons-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.action-buttons-container.visible {
  opacity: 1;
  pointer-events: all;
}

.action-buttons-container.left {
  transform: translateX(60px);
}

.action-buttons-container.right {
  transform: translateX(-60px);
}

.action-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-button:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.action-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.action-button {
  position: relative;
}

.action-button .tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

.action-button:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.action-buttons-container.left .tooltip {
  left: calc(100% + 10px);
  transform: translateY(-50%);
  top: 50%;
}

.action-buttons-container.right .tooltip {
  right: calc(100% + 10px);
  transform: translateY(-50%);
  top: 50%;
}
