/* Drag and Drop Styles for Category Columns */

.board-column[draggable="true"] {
    cursor: grab;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.board-column[draggable="true"]:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.board-column[draggable="true"]:active {
    cursor: grabbing;
}

/* Make the column header more prominent for dragging */
.board-column[draggable="true"] .column-header {
    position: relative;
}

.board-column.drag-over {
    opacity: 0.3 !important;
    border: 2px dashed #0079bf !important;
    background-color: rgba(0, 121, 191, 0.08) !important;
    transform: scale(0.98);
    transition: all 0.2s ease;
}

.drop-indicator {
    position: fixed;
    width: 4px;
    background: #0079bf;
    box-shadow: 0 0 10px rgba(0, 121, 191, 0.5);
    z-index: 10000;
    pointer-events: none;
    border-radius: 2px;
}

/* Visual feedback for dragging */
.board-column.dragging {
    opacity: 0.8;
    transform: scale(0.98);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999;
}

/* Prevent text selection during drag */
.board-column[draggable="true"] * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Smooth transitions for reordering */
.columns-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
}

.board-column {
    flex: 0 0 auto;
}

/* Animation for column moves */
.board-column-moving {
    transition: all 0.3s ease;
}

/* Highlight drop zones */
.columns-container.dragging .board-column:not(.dragging):not(.drag-over) {
    opacity: 0.9;
}

/* Visual cue for successful drop */
@keyframes dropSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.board-column.drop-success {
    animation: dropSuccess 0.3s ease;
}