div.kanban-column::-webkit-scrollbar {
    width: 5px;
}

/* Customize the track of the scrollbar */

div.kanban-column::-webkit-scrollbar-track {
    background: #f5f6f8;
}

/* Customize the thumb (the draggable part) */

div.kanban-column::-webkit-scrollbar-thumb {
    background-color: #c0c7d1;
    border-radius: 6px;
    border: none;
}

/* Customize the thumb when hovered */

div.kanban-column::-webkit-scrollbar-thumb:hover {
    background: #a7b1be;
}

@media (max-width: 767px) {
    div.kanban-column {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        min-height: calc(100vh - 150px);
    }
}

@media (min-width: 768px) {
    div.kanban-column {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        min-height: calc(100vh - 150px);
    }
}

div.kanban-card.dragging {
    opacity: .5;
    transform: scale(.8);
}

div.kanban-column.drop {
    background-color: #eef1f5;
}

#mobile-kanban-menu {
    font-size: 0.85em;
}
.kanban-list ul, .kanban-list ul li {
    display: block ;
}

@media (min-width: 768px) {
    .kanban-list .nav-tabs {
        display: none;
    }
}

@media (min-width: 768px) {
    .kanban-list .tab-content > .tab-pane {
        display: block;
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .kanban-list .kanban-col > .card {
        background-color: #f7f8fa !important;
        border: 1px solid #e3e6eb;
        border-radius: 14px;
    }
}

@media (min-width: 768px) {
    .kanban-list div.kanban-column::-webkit-scrollbar-track {
        background: #f7f8fa;
    }
}

@media (max-width: 767px) {
    .kanban-list .kanban-col > .card {
        background-color: #fff;
    }
}

.kanban-card .info {
    font-size: 0.8em;
    color: #6c757d;
}

.kanban-card .card-body {
    padding: 0.75rem 0.85rem !important;
}

.kanban-list .kanban-card {
    height: 70%;
    display: flex;
    flex-direction: column;
}

.kanban-column .kanban-card {
    cursor: pointer;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.kanban-column .kanban-card:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-2px);
    border-color: #cfd6df;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.kanban-list .kanban-col h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.01em;
}

.kanban-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

.kanban-card h5 a {
    color: #4b5563;
}

.kanban-card .badge {
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}

.kanban-card .bg-secondary-subtle {
    background-color: #f1f3f5 !important;
    border-color: #e5e7eb !important;
}

.kanban-card .bg-secondary-subtle span {
    font-size: 0.8rem;
}

.kanban-list .kanban-list {
    flex-grow: 1; /* Wypełnienie dostępnej przestrzeni */
    overflow-y: auto; /* Dodanie przewijania, jeśli zawartość przekroczy wysokość */
    max-height: 100%; /* Upewnienie się, że nie wyjdzie poza kartę */
}
