.grabbable {
  text-decoration: underline;
  position: relative; /* Ensures the pseudo-element is positioned relative to this element */
  cursor: grab;

  &:hover {
    background-color: #dcdcdc;
    cursor: grab;

    &::after {
      opacity: 1;
    }
  }

  &:active {
    cursor: grabbing;
  }

  &::after {
    content: "Klik for at kopiere";
    position: absolute;
    top: -25px; /* Adjust position above the element */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none; /* Prevents interaction */
  }
}
