/* Änderungsprotokoll: 2026-07-07 | agent | @skill-css-rules, @skill-change-provenance | View-Tabs aus entferntem Firmen-Listen-Screen extrahiert */

.base-job-search-header .job-companies-view-tabs-toolbar {
    display: flex;
    width: 100%;
    margin-bottom: var(--spacing-lg);
    padding: 12px 16px;
    box-sizing: border-box;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-view-tabs-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-bar-label {
    flex: 0 0 auto;
    margin: 0;
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-nav {
    display: inline-flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    width: auto;
    max-width: 100%;
    padding: 3px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-bg-lighter);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-link:hover {
    color: var(--color-text-primary);
    background: var(--color-surface-hover);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-link-active {
    border: none;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    font-weight: var(--font-weight-bold);
    box-shadow: 0 2px 8px var(--color-primary-glow);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-globus-count {
    display: inline-flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
    box-sizing: border-box;
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-globus-count-value {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text-primary);
}

.base-job-search-header .job-companies-view-tabs-toolbar .job-companies-globus-count-label {
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

@media (max-width: 575px) {
    .base-job-search-header .job-companies-view-tabs-toolbar .job-companies-view-tabs-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-nav {
        justify-content: stretch;
        width: 100%;
    }

    .base-job-search-header .job-companies-view-tabs-toolbar .job-companies-suche-sort-link {
        flex: 1 1 0;
        min-width: 0;
    }
}
