/* Minimal Filter Form Styling */

.listing-filter-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.listing-filter-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
}

.listing-filter-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #555;
    font-size: 18px;
    font-weight: 600;
}

.filter-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    gap: 8px;
}

.filter-checkbox:hover {
    background: #f0f0f0;
}

.filter-checkbox input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-checkbox span {
    font-size: 14px;
    line-height: 1.4;
}

.filter-checkbox .count {
    margin-left: 5px;
    color: #999;
    font-size: 13px;
}

.filter-dropdown {
    margin: 0;
}

.region-select {
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.region-select:hover {
    border-color: #999;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.btn-apply-filters,
.btn-reset-filters {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-apply-filters {
    background: #007bff;
    color: #fff;
}

.btn-apply-filters:hover {
    background: #0056b3;
}

.btn-reset-filters {
    background: #6c757d;
    color: #fff;
}

.btn-reset-filters:hover {
    background: #545b62;
}

@media (max-width: 768px) {
    .filter-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn-apply-filters,
    .btn-reset-filters {
        width: 100%;
    }
}
