body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: #333;
	color: white;
	flex-shrink: 0;
}

.header-left,
.header-center,
.header-right {
	display: flex;
	align-items: center;
}

.app-name {
	font-size: 1.5em;
	font-weight: bold;
}

.sub-app-name {
	font-size: 1.2em;
	font-weight: normal;
}

.user-name {
	margin-right: 20px;
}

.hamburger-menu {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 20px;
	cursor: pointer;
}

.hamburger-menu .line {
	width: 25px;
	height: 2px;
	background-color: white;
}

.layout {
	display: flex;
	flex-grow: 1;
	overflow: hidden;
}

.nav-menu {
	background-color: #444;
	color: white;
	width: 250px;
	transition: width 0.3s;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* Extend nav-menu to fill available height */
}

.nav-menu.minimized {
	width: 60px;
}

.nav-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	flex-grow: 1;
	overflow-y: auto;
	/* Allow scrolling within the nav menu if content overflows */
}

.nav-item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	cursor: pointer;
}

.nav-item .icon {
	margin-right: 10px;
}

.nav-item:hover {
	background-color: #555;
}

.nav-text {
	flex-grow: 1;
}

.main-content {
	flex-grow: 1;
	padding: 20px;
	background-color: #f0f0f0;
	overflow-y: auto;
	/* Ensure only main content scrolls */
	height: 100%;
	/* Fill the remaining space */
}

.main-footer {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
	background-color: #333;
	color: white;
	flex-shrink: 0;
}
