:root {
    --sb-w: 16px;
}

.card-body {
    padding: 0.75rem 1rem;
}

.filter-search {
    width: calc(100% - var(--sb-w));;
    padding: .375rem .75rem;
    font-size: .875rem;
    border-radius: .375rem;
}

.filter-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    max-height: 230px;
    overflow-y: auto;
}

.filter-list li {
    padding: .25rem 0;
    display: flex;
    align-items: center;
}

.filter-list input[type="checkbox"] {
    margin-right: .5rem;
    accent-color: #e4002b;
}

.filter-list label {
    margin: 0;
    font-weight: 500;
}

.filter-list::-webkit-scrollbar {
    width: 4px;
}

.filter-list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}

@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
        border: none;
    }

    .list-group-item.active {
        background-color: #f8f9fa;
        color: #212529;
        font-weight: bold;
        border-color: #dee2e6;
        border-left: 3px solid #007bff;
    }
}

.filter-list-mobile {
    max-height: 60vh;
    overflow-y: auto;
}
