/* Tab header tweaks — Detail View layout tabs and the tabbed-MDI document tabs.
 *
 * Note: the dxbl-* classes below are DevExpress internals (documented as overridable, but not a
 * public API), verified against DevExpress.Blazor 26.1.3. Re-check after a major upgrade.
 * The selector chains keep specificity above the theme's own rules, so no !important is needed.
 */

/* Detail View tab captions in upper case.
 *
 * `.dxbl-fl-gt` is the form-layout tabbed-group wrapper, so this hits exactly the tab strips XAF
 * builds from Detail View layout groups (including nested ones) — and neither the ribbon tabs
 * (Home / View / Tools) nor the tabbed-MDI document tabs, which live outside the form layout.
 *
 * Display-only transform: the caption text in the model is untouched, so localization (including
 * Polish diacritics) and screen readers still see the original string. Scoped to the header strip
 * (.dxbl-tabs-tablist) on purpose — tab *content* lives in .dxbl-tabs-content and must not change.
 */
.dxbl-fl-gt .dxbl-tabs-tablist .dxbl-tabs-item {
    text-transform: uppercase;
}

/* Tabbed-MDI document tabs: the icon sits flush against the caption (no margin of its own, unlike
 * the layout tabs, which the theme already spaces by 4px). Push the caption off the icon.
 * Restricted to `.xaf-tab-header-template` inside `.xaf-tabbed-mdi` so layout tabs keep their
 * tighter spacing. */
.xaf-tabbed-mdi .xaf-tab-header-template > .xaf-layout-tab-icon {
    margin-inline-end: 8px;
}
