/* Sticky Bottom Bar - Frontend styles */

#sbb-bottom-bar.sbb-bottom-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	height: var(--sbb-height-desktop, 60px);
	background: var(--sbb-bg, #1a1a1a);
	color: var(--sbb-color, #ffffff);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0 8px;
}

#sbb-bottom-bar .sbb-icon-list {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
	max-width: 900px;
	margin: 0;
	padding: 0;
	list-style: none;
	height: 100%;
}

#sbb-bottom-bar .sbb-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	flex: 1 1 0;
}

#sbb-bottom-bar .sbb-icon a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--sbb-color, #ffffff);
	text-decoration: none;
	width: 100%;
	height: 100%;
}

#sbb-bottom-bar .sbb-icon svg {
	width: var(--sbb-icon-size-desktop, 24px);
	height: var(--sbb-icon-size-desktop, 24px);
	display: block;
	flex-shrink: 0;
}

#sbb-bottom-bar .sbb-icon img {
	width: var(--sbb-icon-size-desktop, 24px);
	height: var(--sbb-icon-size-desktop, 24px);
	object-fit: contain;
	display: block;
}

#sbb-bottom-bar .sbb-label {
	font-size: 11px;
	line-height: 1.2;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

#sbb-bottom-bar:not(.sbb-has-labels) .sbb-label {
	display: none;
}

/* Prevent the bar from sitting under content at the very bottom of pages.
   Base (desktop) rule lives here; the mobile override is added inline
   by PHP using the site's configurable breakpoint. */
body.sbb-has-bottom-bar {
	padding-bottom: var(--sbb-height-desktop, 60px);
}
