.filter-container {
    /* margin: 1rem 0; */
    padding: 1rem;
    border-radius: 5px;
    background: #f0f0f0;
    background-image: linear-gradient(to bottom, #f1f1f1 0%, #eee 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.filter-container h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
    padding: 0;
}

.filter-list li {
    margin: 0.5rem 0.5rem;
    background: #fff;
    border-radius: 5px;
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    /* cursor: pointer; */
    transition: background-color 0.2s ease-in-out;
}

/* Hide checkboxes (removed from HTML) */

.filter-list label {
    font-size: 15px;
    color: #1c1c1c;
    margin-bottom: 0;
}

.filter-list li:hover {
    background-color: #f5f5f5;
}

/* Style the remove icon and button */
.fa-times,
.remove-all {
    font-size: 1rem;
    margin-left: 0.5rem;
    color: #999;
    transition: color 0.2s ease-in-out;
}

.fa-times:hover {
    color: #dc3545;
    cursor: pointer;
}

.remove-all {
    padding: 0.3rem 0.5rem;
    /* Maintain padding for button size */
    border: none;
    /* Remove border for cleaner look */
    border-radius: 5px;
    background: #eee;
    /* Light background color */
    color: #333;
    /* Darker text color */
    transition: color 0.2s ease-in-out;
    /* Smooth transition */
}

.remove-all:hover {
    /* Slightly lighter hover background */
    color: #dc3545;
    /* Red hover text color as requested */
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-title {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}