
/* Filter Styles */
.filter-accordion {
    margin-bottom: 12px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
}

.filter-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s ease;
}

.filter-header:hover {
    background: rgba(2, 132, 199, 0.05);
}

.filter-header i {
    transition: transform 0.3s ease;
}

.filter-header.active i {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #fff;
    font-size: 13px;
}

.filter-content.active {
    max-height: 250px; /* Increased to accommodate search + list */
    transition: max-height 0.3s ease-in-out;
    border-top: 1px solid var(--glass-border);
}

/* Search Input in Filter */
.filter-search-wrapper {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    color: #334155;
    background: transparent;
}

.filter-search-wrapper i {
    color: #94a3b8;
    font-size: 14px;
}

/* Native Checkbox Styles */
.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.filter-checkbox-item:last-child {
    border-bottom: none;
}

.filter-checkbox-item:hover {
    background: #f8fafc;
}

.filter-checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #0284c7);
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #cbd5e1;
}

.filter-loading {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}
