/* ---------------------------------------------------------
   filters.css — Filter-Pills + Tabs
--------------------------------------------------------- */

/* Tab-Leiste (Overview | Products | Last Sales | …) */
.tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--border);
    padding: 0 4px;
    margin-bottom: 18px;
}
.tab {
    display: inline-block;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 500;
    padding: 14px 2px;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color .15s;
}
.tab:hover { color: var(--text); }
.tab.active {
    color: var(--text);
    border-bottom-color: var(--brand);
    font-weight: 600;
}

/* Filter-Pills oberhalb der Tabelle */
.filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: none;
}
.filter-btn {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    font-size: 12.5px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.filter-btn:hover { border-color: var(--text-mute); }
.filter-btn .badge {
    background: var(--brand);
    color: var(--brand-ink);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}
.filter-btn .caret {
    color: var(--text-mute);
    display: inline-flex;
    align-items: center;
}
.clear-all {
    margin-left: auto;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    cursor: pointer;
}
.clear-all:hover { color: var(--text); }

.refresh-icon {
    color: var(--text-mute);
    cursor: pointer;
    margin-left: 8px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.refresh-icon:hover { background: var(--surface-alt); color: var(--text); }
