/* Ghost: The placeholder element shown where the item will be dropped */
.sortable-ghost {
  opacity: 0.4;
  background-color: #e5e7eb; /* gray-200 */
}

/* Chosen: The element being dragged */
.sortable-chosen {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #3b82f6; /* blue-500 */
  background-color: #eff6ff; /* blue-50 */
}

/* Drag: Applied during the drag operation */
.sortable-drag {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: rotate(2deg);
  cursor: grabbing !important;
}

/* Prevent text selection during drag */
.sortable-drag * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Drag handle states */
.drag-handle {
  touch-action: none; /* Prevent default touch behavior */
}

.drag-handle:hover {
  color: #4b5563; /* gray-600 */
}

.drag-handle:active {
  cursor: grabbing;
  color: #1f2937; /* gray-800 */
}

/* Optional: Add transition for smooth reordering */
#steps-list > div {
  transition: transform 0.15s ease;
}
