/* Please read the readme file, when editing or creating a new styles file. */

/* ArkTabBar (Nexum.WEB/Helpers.Forms.TabBar.php + Nexum.WEB.Client.Widgets.TabBar.ts). The tab buttons use the theme
   button classes (Button / Button_ForceSelectedAppearance), like ArkPeriodSelector; no colors are defined here.
   IMPACT: the [hidden] rule keeps inactive panels out of the layout even if a theme sets display on .STC_TabBar_Panel;
   the panel visibility is also the refresh suspension contract of the async widgets (see the PHP class). */

.STC_TabBar
{
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	min-height: 0;
}

.STC_TabBar_Tabs
{
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
	min-width: 0;
}

.STC_TabBar_Tabs > [role=tab]
{
	flex-shrink: 0;
	white-space: nowrap;
}

.STC_TabBar_Panel
{
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
}

.STC_TabBar_Panel[hidden]
{
	display: none !important;
}
