/* --- RESPONSIVE SEPAR KANBAN (OCORRENCIAS STYLE) --- */

/* Wrapper Container (Flex Row Desktop, Column Mobile) */
.separ-board-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    padding: 0 10px;
}

/* Individual Column Container */
.separ-column {
    min-width: 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    padding: 1rem;
    color: #212529;
    /* Transition for smooth resize */
    transition: all 0.3s ease;
}

/* Internal Column Scroll Area */
.separ-column-body {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 100px;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.separ-column-body::-webkit-scrollbar {
    width: 6px;
}

.separ-column-body::-webkit-scrollbar-track {
    background: transparent;
}

.separ-column-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}


/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

    /* Stack Columns Vertically */
    .separ-board-wrapper {
        flex-direction: column;
        height: auto !important;
        /* Allow growing */
        padding-bottom: 50px;
        /* Space for bottom scroll */
    }

    /* Columns become full width and flexible height */
    .separ-column {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 300px;
        /* Min height for dropping */
        max-height: 600px;
        /* Cap height to allow scrolling next col */
        margin-bottom: 20px;
    }

    /* Adjust Card fonts for Mobile */
    .kanban-card-title {
        font-size: 0.9rem !important;
    }
}