/* Menü Alanı */
.user-menu {
	background-color: #f5f5f5;
	width: 100%;
	position: relative;
	z-index: 998;
}

.menu-list {
	list-style-type: none;
	display: flex;
	justify-content: left;
}

.menu-list li {
	position: relative;
}

.menu-list > li > a {
	display: block;
	padding: 12px 20px;
	text-decoration: none;
	font-size: 15px;
}

.menu-list > li:hover {
	background-color: #fff;
	color: #8b3eea;
}

/* Dropdown Menü */
.submenu {
	display: none;
	position: absolute;
	background-color: #fff;
	top: 100%;
	left: 0;
	min-width: 200px;
	box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.06), 8px 10px 20px rgba(0, 0, 0, 0.06);
}

.submenu li {
	border-bottom: 1px dotted #ccc;
}

.submenu a {
	padding: 10px 15px;
	display: block;
	text-decoration: none;
	font-size: 14px;
	color: #2b2540;
}

.active a {
	/* background-color: #f5f5f5; */
	color: #8b3eea;
}

.submenu a:hover {
	background-color: #f5f5f5;
	color: #8b3eea;
}

/* Hover ile Dropdown Açma */
.menu-list li:hover .submenu {
	display: block;
}

/* Mobil Menü (Hamburger) */
.mobile-menu {
	display: none;
	background-color: #333;
	color: white;
	padding: 15px;
	cursor: pointer;
	text-align: center;
	margin-top: 75px;
}

.mobile-menu:hover {
	background-color: #444;
}

/* Mobil Cihazlar İçin Stil */
@media screen and (max-width: 768px) {
	.menu-list {
		display: none;
		flex-direction: column;

		width: 100%;
	}

	.menu-list li {
		width: 100%;
	}

	.submenu {
		position: relative;
		width: 100%;
	}

	.mobile-menu {
		display: block;
	}
}

/* ---------------- Mobile Header Fix ---------------- */
@media screen and (max-width: 768px) {
	.main_header_arae_two {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		z-index: 9999;
	}
	/* ensure dashboard content is not hidden under fixed header */
	/* hide desktop horizontal menu */
	.user-menu {
		display: none;
	}
	/* show mobile toggle button */
	.mobile-menu {
		display: block;
		background: #fff;
		color: #8b3eea;
		padding: 10px 16px;
		font-size: 24px;
		position: fixed;
		top: 20px; /* vertically align with other header icons */
		left: 12px; /* flush against header padding */
		width: 45px;
		height: 45px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 22px;
	}
	#userMenuCanvas .list-group-item a {
		color: #222;
		text-decoration: none;
	}
	#userMenuCanvas .list-group-item.active {
		background: #8b3eea !important;
		/* color:#fff !important; */
		border-color: #8b3eea !important;
	}
	#userMenuCanvas .list-group-item.active a {
		color: #fff !important;
	}
}
