/* WCM App Tab Bar — fixed bottom navigation for the single-page attendee app. */

/* Wins over Bricks' own display on a Section, so hiding works regardless of the
   panel's layout (flex/grid/block). */
.is-tab-hidden { display: none !important; }

:root { --wcm-tabbar-h: 64px; }

/* Keep page content clear of the fixed bar (incl. iOS home-indicator inset). */
body { padding-bottom: calc(var(--wcm-tabbar-h) + env(safe-area-inset-bottom, 0px)); }

.wcm-app-tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	min-height: var(--wcm-tabbar-h);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.wcm-app-tabbar .wcm-tab {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 8px 4px;
	border: 0;
	background: none;
	cursor: pointer;
	color: #6b7280;
	font-size: 11px;
	line-height: 1.1;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.wcm-app-tabbar .wcm-tab.is-active { color: #0b5394; }
.wcm-app-tabbar .wcm-tab-icon { font-size: 20px; }
.wcm-app-tabbar .wcm-tab-label { font-weight: 500; }
