/**
 * Shared segmented tabs — Dashboard project filters, Project Finance modules, etc.
 * Uses the same tokens as .dashboard-project-page when nested there; otherwise falls back to dashboard values.
 */

.dash-filter-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 4px;
    background: #eef0f4;
    border-radius: 10px;
    border: 1px solid var(--dash-border, #e8eaef);
    align-items: center;
}

.dash-filter-tab {
    border: none;
    background: transparent;
    color: var(--dash-muted, #6b7280);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 7px 12px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.dash-filter-tab:hover {
    color: var(--dash-text, #1c1f26);
    background: rgba(255, 255, 255, 0.65);
}

.dash-filter-tab.is-active {
    background: var(--dash-surface, #ffffff);
    color: var(--dash-text, #1c1f26);
    box-shadow: var(--dash-shadow, 0 1px 2px rgba(15, 23, 42, 0.05));
}
