/* Common styles for all filter dropdowns */

.filters-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-container {
    position: relative;
    display: inline-block;
}

.filter-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background-color: #0056b3;
}

.filter-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 5px;
}

.filter-dropdown.show {
    display: block;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    gap: 8px;
}

.filter-item:hover {
    background-color: #f1f1f1;
}

.filter-checkbox {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.filter-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* Scrollbar styling for dropdown */
.filter-dropdown::-webkit-scrollbar {
    width: 8px;
}

.filter-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.filter-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.filter-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}
