/*
 * kanban-board.css
 * CSS directo para Kanban - NO recompilar con SCSS
 */

.kanban-app {
    height: 100%;
}

.kanban-app .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kanban-app .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.kanban-content {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    flex: 1;
    height: 100%;
    gap: 1.25rem;
    padding: 1.25rem;
}

.kanban-content .kanban-board {
    min-width: 320px !important;
    flex: 1 1 0;
    max-width: 400px;
    border-right: 1px dashed var(--ins-border-color);
    padding-right: 1.25rem;
}

.kanban-content .kanban-board:last-child {
    border-right: none;
    padding-right: 0;
}

.kanban-board-group {
    height: calc(100vh - 320px);
    overflow-x: hidden;
}

.kanban-board-group ul {
    list-style: none;
    padding: 0;
    min-height: 100px;
}

.kanban-item {
    margin-bottom: 1rem;
}

.kanban-item .card {
    margin-bottom: 0;
}

.kanban-item .card:hover {
    box-shadow: 0 0.25rem 1rem rgba(var(--ins-body-color-rgb), 0.2) !important;
}

/* Read-only items (no drag permission) */
/* Solo aplicamos filtro de Sortable.js, sin cambios visuales */
.kanban-item-readonly {
    /* No cambiamos la opacidad ni cursor - aspecto normal */
}

.kanban-item-readonly .card {
    /* Aspecto normal, sin cambios */
}

/* NO mostrar ningún indicador visual de solo lectura */
/* Los usuarios verán que no pueden arrastrar al intentarlo (Sortable.js lo previene) */

.kanban-empty-placeholder {
    min-height: 50px;
    display: block;
}

.kanban-view-container {
    padding: 0 !important;
    min-height: 600px;
    /*height: 100%;*/ 
}

/* Sortable Plugins overwrite */
.sortable-fallback {
    opacity: 1 !important;
}

.sortable-fallback .card {
    transform: rotate(10deg);
    opacity: 1 !important;
}

.sortable-item-ghost .card {
    background-color: rgba(var(--ins-warning-rgb), 0.1) !important;
}

