.filter-badges-container {
    margin: 1rem 0;
    padding: 1rem;
}

.filter-badges-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background-color: #f8f8f8;
    color: #6a6a6a;
    border: 1px solid #6a6a6a;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .filter-badge:hover {
        background-color: #bbdefb;
        transform: translateY(-1px);
    }

.filter-badge__label {
    margin-right: 0.5rem;
}

.filter-badge__remove {
    background: none;
    border: none;
    color: #6a6a6a;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

    .filter-badge__remove:hover {
        background-color: rgba(21, 101, 192, 0.1);
    }

    .filter-badge__remove i {
        font-size: 12px;
    }

.filter-badges__clear-all {
    color: #dc3545;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .filter-badges__clear-all:hover {
        background-color: #f8d7da;
        color: #721c24;
        text-decoration: none;
    }

    .filter-badges__clear-all i {
        font-size: 14px;
        margin-left: 0.25rem;
    }

@media (max-width: 768px) {
    .filter-badges-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-badges {
        justify-content: left;
        margin-bottom: 0.5rem;
    }

    .filter-badges__clear-all {
        align-self: center;
    }
}

.filter-badge.removing {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}


