/* ===== Draggable-modal cursors (HIVE-256) =====
   Unify the drag affordance (move) and the close/interactive affordance
   (pointer) across all opt-in draggable modals + the common close buttons.
   The shared helper also sets cursor:move inline on the handle; these rules
   are the CSS backstop and, crucially, keep interactive controls inside the
   handle (the close ×, selects, links) from inheriting the move cursor. */

/* Drag handle shows the move cursor. */
.modal-overlay[data-draggable] .modal-header,
.modal-overlay[data-draggable] [data-drag-handle] {
    cursor: move;
}

/* Controls inside the drag handle must NOT inherit `move`. */
.modal-overlay[data-draggable] .modal-header button,
.modal-overlay[data-draggable] .modal-header a,
.modal-overlay[data-draggable] .modal-header input,
.modal-overlay[data-draggable] .modal-header select,
.modal-overlay[data-draggable] .modal-header label,
.modal-overlay[data-draggable] [data-drag-handle] button,
.modal-overlay[data-draggable] [data-drag-handle] a,
.modal-overlay[data-draggable] [data-drag-handle] input,
.modal-overlay[data-draggable] [data-drag-handle] select,
.modal-overlay[data-draggable] [data-drag-handle] label {
    cursor: pointer;
}

/* Every modal close affordance is a pointer hand — unifies the set and fixes
   the bare `.modal-close` (claim-multiclaim.js) which had no explicit cursor. */
.btn-close-modal,
.modal-close,
.message-modal-close,
.claim-admin-modal .ca-close-btn,
.bug-tracker-close {
    cursor: pointer;
}
