/* ============================================================================
   SPURA HUB v3 — Tabs (shared navigation strip)
   Theme-specific colors live in glass.css.
   ============================================================================ */

.tabs-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-secondary);
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: color var(--transition-fast) ease, background 0.15s ease, border-color 0.15s ease;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

.tab:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.tab-active {
    color: var(--brand-600, var(--brand-500));
    border-bottom-color: var(--brand-600, var(--brand-500));
    background: var(--bg-surface);
    font-weight: 600;
}

.tab-active:hover {
    color: var(--brand-600, var(--brand-500));
}

/* Strip buttons (e.g. sales order show) */
.ui-tab-strip__button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-secondary);
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
    transition: color var(--transition-fast) ease, background 0.15s ease, border-color 0.15s ease;
}

.ui-tab-strip__button:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.ui-tab-strip__button.active {
    color: var(--brand-600, var(--brand-500));
    border-bottom-color: var(--brand-500);
    font-weight: 600;
}
