/* Styles pour la barre de navigation */
.navbar-container {
	position: relative;
	height: 100%;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 60px;
	background-color: var(--secondary-bg-color);
	color: white;
	transition: all 0.3s ease;
	z-index: 1000;
	overflow-y: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.navbar.expanded {
	width: 19%;
}

.navbar-header {
	width: 100%;
	padding: 29px 0;
	text-align: center;
	border-bottom: 1px solid #333;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-text {
	margin-left: 15px;
	opacity: 0;
	transition: opacity 0.3s ease;
	white-space: nowrap;
	font-weight: bold;
}

.navbar.expanded .logo-text {
	opacity: 1;
}

.navbar-nav {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 10px;
	overflow-x: hidden;
	overflow-y: auto;
}

.nav-link {
	width: 100%;
	display: flex;
	align-items: center;
	color: white;
	text-decoration: none;
	padding: 12px 15px;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	min-height: 45px;
}

.nav-link:hover {
	background-color: #2C2C2C;
	color: var(--primary-color);
	border-left: 3px solid var(--primary-color);
}

.nav-link i {
	font-size: 18px;
	min-width: 25px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-text {
	margin-left: 15px;
	opacity: 0;
	transition: opacity 0.3s ease;
	white-space: nowrap;
}

.navbar.expanded .nav-text {
	opacity: 1;
}

.navbar-toggle-button {
	position: fixed;
	top: 15px;
	left: 15px;
	z-index: 1001;
	background-color: transparent;
	color: white;
	border: none;
	font-size: 20px;
	cursor: pointer;
	padding: 5px 8px;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.navbar-toggle-button:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--primary-color);
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 19%;
	height: 100%;
	background-color: var(--secondary-bg-color);
	z-index: 999;
	display: none;
	transition: opacity 0.3s ease;
}

.overlay.show {
	display: block;
}

.navbar-footer {
	width: 100%;
	margin-top: auto;
	border-top: 1px solid #333;
	padding: 15px 0 5px 0;

}

.navbar-footer i {
	color: var(--primary-color);
	font-size: 22px;
}

/* Styles responsive pour mobile */
@media (max-width: 768px) {
	.navbar {
		width: 0;
	}

	.navbar.expanded {
		width: 100%;
	}

	.navbar-toggle-button {
		background-color: rgba(26, 26, 26, 0.7);
	}

	.overlay.show {
		opacity: 1;
	}
}