:root {
	--couleur-primaire: #2f2a86;
}

body {
	margin: 0;
	padding: 0;
}

.navbar {
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	padding: 15px 0;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background-color: var(--couleur-primaire);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-republique {
	height: 50px;
	filter: brightness(0) invert(1);
	margin-right: 20px;
}

.logo-universite {
	height: 45px;
	filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
	color: white !important;
	position: relative;
	padding: 5px 15px;
	margin: 0 15px;
	font-weight: 500 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: white;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
	width: 100%;
}

.navbar-toggler {
	border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
	filter: brightness(0) invert(1);
}

.icone-profil {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
}

.icone-profil:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.dropdown-menu {
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	min-width: 200px;
	padding-top: 0;
	padding-bottom: 0;
}

.dropdown-item {
	padding: 12px 20px;
}

.dropdown-item:first-child {
	border-bottom: 1px solid #ddd;
	color: inherit;
}

.dropdown-item:hover {
	background-color: #f5f5f5;
	color: var(--couleur-primaire);
}

@media (max-width: 992px) {
	.navbar-collapse {
		margin-top: 15px;
	}
}