/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #ffffff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	padding: 8px 0;
	z-index: 1000;
	width: 100%;
	overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Fix for container width to prevent horizontal scrolling */
.mobile-bottom-nav .container-fluid {
	padding-left: 0;
	padding-right: 0;
	max-width: 100%;
	overflow-x: hidden;
}

/* Equal width columns for navigation items */
.mobile-bottom-nav .row {
	margin-left: 0;
	margin-right: 0;
	display: flex;
	justify-content: space-between;
}

.mobile-bottom-nav .col {
	flex: 1 1 0;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}

.mobile-bottom-nav .icon-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 4px;
}

.mobile-bottom-nav .icon-container img {
	width: 24px;
	height: 24px;
}

.mobile-bottom-nav .nav-label {
	font-size: 9px;
	font-weight: bold;
	color: #333;
	text-align: center;
	white-space: nowrap; /* Prevent text wrapping */
	overflow: hidden;
	text-overflow: ellipsis; /* Add ellipsis for long text */
	padding: 0 2px; /* Small padding to prevent text from touching edges */
}

.mobile-bottom-nav a {
	text-decoration: none;
	display: block;
}

.mobile-bottom-nav a:hover .nav-label {
	color: #006af7;
}

/* Active state for navigation items */
.mobile-bottom-nav a.active .nav-label {
	color: #006af7;
	font-weight: bold;
}

.mobile-bottom-nav a.active .icon-container img {
	filter: invert(40%) sepia(60%) saturate(1000%) hue-rotate(190deg)
		brightness(100%) contrast(250%);
}

/* Add padding to the bottom of the page content to prevent it from being hidden behind the navigation bar */
body {
	padding-bottom: 65px;
}

/* Only apply these styles on screens below 767px */
@media (min-width: 768px) {
	body {
		padding-bottom: 0;
	}
}

/* Fix for any potential horizontal scrolling issues on the entire page */
html,
body {
	overflow-x: hidden;
	max-width: 100%;
}
