/* LibZen SlotDrag — drag an item into a slot (SlotDrag.js). */

/* A long press must not select text or open the phone's callout menu. */
[data-zd-item]:not([data-zd-locked]) {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
}

/* The ⠿ grip an app may put on its items (same glyph as the Panel handles). */
.libzen-sd-grip {
  color: var(--libzen-sd-grip, var(--text-muted, #94a3b8));
  font-size: 13px;
  line-height: 1;
  letter-spacing: -1px;
}

/* Finger down, waiting for the long press. */
.libzen-sd-pressing {
  transition: transform 0.35s ease;
  transform: scale(0.98);
}

/* The item being dragged stays in place, faded; the ghost follows the pointer. */
.libzen-sd-source {
  opacity: 0.35;
}
.libzen-sd-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  margin: 0;
  pointer-events: none;
  opacity: 0.92;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  transform-origin: top left;
  cursor: grabbing;
}
html.libzen-sd-dragging,
html.libzen-sd-dragging * {
  cursor: grabbing !important;
}

/* The slot under the pointer: accepted, or refused. */
.libzen-sd-over {
  outline: 2px dashed var(--libzen-sd-accent, var(--accent, #2563eb));
  outline-offset: 2px;
  background-color: var(--libzen-sd-over-bg, rgba(37, 99, 235, 0.08));
}
.libzen-sd-refused {
  outline: 2px dashed var(--libzen-sd-refused, #dc2626);
  outline-offset: 2px;
}
