.select2-selection__choice[title="All"] .select2-selection__choice__remove {
    display: none !important;
}

.filterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 30px;
}

.filter-toggle-btn {
    background: var(--button-bg);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: var(--button-fg);
    cursor: pointer;
    transition: background 0.15s;
    display: none;
}
div .dt-buttons .filter-toggle-btn {
    background: var(--button-bg) !important;
}

div.dt-container {
    width: 100%;
}

.table-filter-wrap {
    display: flex;
    align-items: start;
    width: 100%;
    gap: 5px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.sidebar-header button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.active-filters {
    margin-bottom: 20px;
    padding: 10px;
    background: var(--darkened-bg);
    border-radius: 5px;
    font-size: 14px;
    flex-wrap: wrap;
}

.checkbox-wrapper {
    display: flex;
    align-items: end;
    gap: 5px;
}
.checkbox-wrapper input {
    margin: 0;
}

#activeFilters {
    display: none;
}

.filter-tag {
    display: flex;
    align-items: center;
    margin: 4px 6px 4px 0;
    padding: 6px 12px;
    background-color: #315a6e80;
    border-radius: 20px;
    font-size: 14px;
}
.filter-tag strong {
    font-weight: 600;
    margin-right: 4px;
}

.filter-remove {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background-color: #4c97bc80;
    border-radius: 50%;
    font-size: 14px;
    box-sizing: border-box; 
    transition: all .3s;
}
.filter-remove:hover {
    color: #f66;
    background-color: #4c97bcdd;
}

.sidebar {
    position: absolute;
    right: 0;
    top: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: height 0.3s ease, padding 0.3s ease;
    background: var(--darkened-bg);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 30%;
    padding: 0 20px;
    margin-top: 10px;
    min-width: 250px;
    max-width: 300px;
    box-sizing: border-box;
}
.sidebar.open {
    position: relative;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    padding: 20px;
    padding-bottom: 40px;
}

.cost-table-wrapper {
    flex: 1;
    min-width: 0;
}
