/**
 * Dynamic Filters CSS
 * 
 * Styles for the category-specific filter system
 */

/* Filter Container */
.ba-woo-filters-container {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px;
}

/* Filter Header */
.ba-woo-filters-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.ba-woo-filters-header h3 {
    font-size: 18px;
    margin: 0;
}

.ba-woo-filters-header h3 i {
    margin-right: 5px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    font-size: 16px;
    margin: 0 0 10px;
}

/* Dropdowns */
.filter-dropdown {
    margin-bottom: 10px;
    position: relative;
}

.filter-dropdown label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.filter-select {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    font-size: 14px;
    height: 40px;
    padding: 0 10px;
    width: 100%;
}

/* Checkboxes */
.filter-checkbox {
    margin-bottom: 8px;
}

.filter-checkbox label {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

/* Range Inputs */
.range-input {
    display: flex;
    gap: 10px;
}

.range-input input {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    font-size: 14px;
    height: 40px;
    padding: 0 10px;
    width: 100%;
}

/* Active Filters */
.ba_active_filters {
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter {
    background-color: #eee;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 5px 12px;
}

.active-filter span {
    margin-right: 5px;
}

.active-filter .remove-filter {
    color: #666;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.active-filter .remove-filter:hover {
    color: #ff0000;
}

.clear-all-filters {
    margin-top: 10px;
}

.clear-all-filters a {
    color: #666;
    font-size: 13px;
    text-decoration: underline;
}

.clear-all-filters a:hover {
    color: #ff0000;
}

/* Search Button */
.search-auctions-btn {
    background-color: #2271b1;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
}

.search-auctions-btn:hover {
    background-color: #135e96;
}

/* Loading Indicators */
#brand-loading,
#model-loading {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Category-specific Styles */
/* Cars */
.product_cat-cars .filter-group {
    /* Add any car-specific styles here */
}

/* Motorcycles */
.product_cat-moto .filter-group {
    /* Add any motorcycle-specific styles here */
}

/* Tyres */
.product_cat-tyres .filter-group {
    /* Add any tyre-specific styles here */
}

/* Wheels */
.product_cat-wheels .filter-group {
    /* Add any wheel-specific styles here */
}

/* Others */
.product_cat-others .filter-group {
    /* Add any other item-specific styles here */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .range-input {
        flex-direction: column;
        gap: 5px;
    }
    
    .active-filters-list {
        gap: 5px;
    }
    
    .active-filter {
        font-size: 12px;
        padding: 4px 10px;
    }
    .autobid-shop-sidebar-content-inner {
        padding: 0 !important;
    }
}

