/* ─── Filter bar ─────────────────────────────────────────────────── */
.filters-bar {
    display: flex; align-items: center;
    padding: 7px 10px; gap: 7px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}
.filters-group {
    display: flex; gap: 5px; flex: 1;
    overflow-x: auto; scrollbar-width: none;
}
.filters-group::-webkit-scrollbar { display: none; }
.filter-btn {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.775rem; font-weight: 500;
    color: var(--text-secondary);
    background: var(--primary-faint);
    white-space: nowrap;
    transition: all var(--transition); flex-shrink: 0;
    border: 1.5px solid transparent;
    cursor: pointer;
}
.filter-btn:hover { color: var(--primary); background: rgba(0,108,255,.10); }
.filter-btn.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
    font-weight: 600; box-shadow: 0 2px 8px rgba(0,108,255,.28);
}
.filter-icon { font-size: 0.8rem; line-height: 1; }
.filter-search-btn {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary-faint); color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); cursor: pointer;
}
.filter-search-btn svg { width: 16px; height: 16px; }
.filter-search-btn:hover { background: var(--primary); color: #fff; }

/* Search bar */
.search-bar {
    padding: 7px 10px; background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    animation: slide-down 0.18s ease;
}
@keyframes slide-down {
    from { opacity:0; transform: translateY(-6px); }
    to   { opacity:1; transform: translateY(0); }
}
.search-input-wrapper {
    display: flex; align-items: center; gap: 7px;
    background: var(--primary-faint);
    border-radius: var(--radius-md); padding: 7px 11px;
    border: 1.5px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,108,255,.10);
    background: var(--bg-surface);
}
.search-icon { width: 15px; height: 15px; color: var(--neutral-2); flex-shrink: 0; }
.search-input-wrapper input {
    flex: 1; border: none; background: none; outline: none;
    color: var(--text-primary); font-size: 0.875rem;
}
.search-input-wrapper input::placeholder { color: var(--neutral-2); }
.search-clear {
    flex-shrink: 0; color: var(--neutral-2);
    display: flex; align-items: center; justify-content: center;
    transition: color var(--transition);
}
.search-clear svg { width: 15px; height: 15px; }
.search-clear:hover { color: var(--danger); }
