/**
 * Draggable Modal - Shared CSS Styles
 * Include this CSS for any modal that uses DraggableModalMixin
 */

/* Drag Handle - apply to modal header */
.modal-drag-handle {
    cursor: move;
    cursor: grab;
    user-select: none;
    position: relative;
}

.modal-drag-handle::before {
    content: "⋮⋮";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: -2px;
    pointer-events: none;
}

.modal-drag-handle:hover::before {
    opacity: 1;
    color: var(--accent-primary);
}

.modal-drag-handle:active {
    cursor: grabbing;
}

/* Dragging State - apply class to modal container */
.is-dragging {
    cursor: grabbing;
    user-select: none;
    opacity: 0.92;
}

.is-dragging * {
    user-select: none;
}

/* Body class during drag - prevents text selection globally */
body.modal-dragging {
    cursor: grabbing !important;
    user-select: none !important;
}

body.modal-dragging * {
    cursor: grabbing !important;
}
