
/*灰色系配色方案 - 简洁优雅*/
.menu-list{
	width : 100%;
}
.menu-list ul{
	list-style: none;
}
.menu-list>ul>li{
	width        : 100%;
	border-bottom: 1px solid #e8e8e8;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
			transition: .3s ease;
}
.menu-list>ul>li p[class=menu-title]{
	width      : 100%;
	line-height: 2;
	padding    : 0;
	border     : none;
	position   : relative;
	font-size  : 20px;
	color      : #333;
}

/* 确保所有menu-title都有足够的右边距来容纳符号 */
p.menu-title.level-2 {
	padding-right: 50px !important;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 45px;
}

/* 二级菜单标题中的链接 */
p.menu-title.level-2 > a {
	display: flex !important;
	align-items: center;
	line-height: 1.4 !important;
	padding: 10px 0 !important;
}

p.menu-title.level-3 {
	padding-right: 45px !important;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 40px;
}

/* 三级菜单标题中的链接 */
p.menu-title.level-3 > a {
	display: flex !important;
	align-items: center;
	line-height: 1.4 !important;
	padding: 8px 0 !important;
}

/* 二级菜单折叠符号 - 深灰圆形 */
p.menu-title.level-2 > span{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #FFF;
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
	border-radius: 50%;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(45, 55, 72, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

p.menu-title.level-2 > span:hover{
	background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 3px 8px rgba(45, 55, 72, 0.4);
}

/* 三级菜单折叠符号 - 浅蓝色圆角矩形，更小更精致 */
p.menu-title.level-3 > span{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #FFF;
	background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
	border-radius: 3px;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	text-align: center;
	box-shadow: 0 1px 4px rgba(66, 153, 225, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

p.menu-title.level-3 > span:hover{
	background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 2px 6px rgba(66, 153, 225, 0.4);
}

/* 收起符号 - 二级菜单展开后（使用深灰色表示展开状态） */
/* 注意：现在符号在同一个标题上动态切换，不再需要单独的内层标题样式 */

/* 收起符号 - 三级菜单展开后（使用深蓝色表示展开状态） */
/* 注意：现在符号在同一个标题上动态切换，不再需要单独的内层标题样式 */

.list-se{
	overflow: hidden;
	display: none;
}

/* 三级菜单容器背景 - 增强层次 */
.list-se-level-3 {
	background: #f7fafc !important;
	padding-top: 5px;
}
.list-se>li{
	position: relative;
	right   : -100%;
	-webkit-transition: right .5s;
	-moz-transition   : right .5s;
	-o-transition     : right .5s;
	transition        : right .5s;
}
.list-se>li>p{
	background  : #fff;
	color       : #666;
	height      : 50px;
	-webkit-box-sizing :border-box;
	        box-sizing :border-box;
	padding-left: 10px;
	line-height : 50px;
	border-left : 5px solid #e8e8e8;
	-webkit-transition   : border .3s, background .3s;
			 transition  : border .3s, background .3s;
}

/* 四级菜单特殊样式 - 增加左边距和不同的边条颜色 */
.list-se-level-3 > li {
	margin: 0;
	padding: 0;
}

.list-se-level-3 > li > p {
	padding-left: 25px;
	border-left: 4px solid #bee3f8;
	background: #fafafa;
	height: 45px;
	line-height: 45px;
	margin: 0;
}

.list-se-level-3 > li > p:hover {
	border-left-color: #4299e1;
	background: #f0f9ff;
}

.list-se>li>p>a{
	color: #666;
	text-decoration: none;
}
.list-se>li>p:hover{
	border-color: #5a5a5a;
	background  : #f8f8f8;
}

/* 三级菜单项的hover效果 */
.list-se-level-2 > li:not(.level-3-item) > p:hover {
	border-color: #718096;
	background: #f7fafc;
}
.list-se>li>p:hover>a{
	color: #333;
}

/* 高亮当前活跃的菜单项 - 通用样式 */
.list-se>li.active>p{
	border-color: #5a5a5a;
	background  : #f0f0f0;
}
.list-se>li.active>p>a{
	color       : #333;
	font-weight : 600;
}

/* 四级菜单active状态 - 使用深蓝色系（优先级更高，放在后面） */
.list-se-level-3 > li.active > p {
	border-left-color: #3182ce !important;
	background: linear-gradient(to right, #dbeafe 0%, #eff6ff 100%) !important;
	box-shadow: 0 1px 3px rgba(49, 130, 206, 0.1);
	margin: 0 !important;
}

.list-se-level-3 > li.active > p > a {
	color: #1e40af !important;
	font-weight: 600;
}

/* 三级菜单项（无子菜单）的active样式 */
.list-se-level-2 > li.active:not(.level-3-item) > p {
	border-color: #718096;
	background: #e2e8f0;
}

.list-se-level-2 > li.active:not(.level-3-item) > p > a {
	color: #2d3748;
	font-weight: 600;
}

/* 三级菜单项（无子菜单）基础样式 */
.list-se-level-2 > li:not(.level-3-item) > p {
	padding-left: 20px;
	border-left-color: #cbd5e0;
}

/* 二级和三级菜单链接的active样式 */
a.active-link {
	color: #333 !important;
	font-weight: 600;
}

/* 二级菜单标题选中状态 - 灰色背景 */
p.menu-title.level-2.active-menu {
	background: #e8e8e8;
	border-radius: 4px;
	margin: 5px 5px !important;
	transition: background 0.2s ease;
}

/* 二级菜单有活跃子项时的背景色 */
li.has-active-child > p.menu-title.level-2 {
	background: #e8e8e8;
	border-radius: 4px;
	margin: 5px 5px !important;
}

/* 二级菜单标题hover效果 */
p.menu-title.level-2:hover {
	background: #f5f5f5;
	border-radius: 4px;
	margin: 5px 5px !important;
}

/* 三级菜单标题选中状态 - 使用灰色系而不是蓝色 */
p.menu-title.level-3.active-menu {
	background: #e2e8f0;
	border-radius: 3px;
	margin: 5px 5px !important;
	transition: background 0.2s ease;
}

/* 三级菜单有活跃子项时的背景色 - 灰色系 */
li.level-3-item.has-active-child > p.menu-title.level-3 {
	background: #e2e8f0;
	border-radius: 3px;
	margin: 5px 5px !important;
}

/* 三级菜单标题hover效果 */
p.menu-title.level-3:hover {
	background: #f0f4f8;
	border-radius: 3px;
	margin: 5px 5px !important;
}

/* 没有子菜单的二级菜单项选中状态 */
p.menu-title.active-menu:not(.level-2):not(.level-3) {
	background: #e8e8e8;
	border-radius: 4px;
	margin: 5px 5px !important;
}

/* 三级菜单项active样式（不含子菜单） */
.list-se>li.active {
	border-left-color: #5a5a5a;
}

.list-se.list-se-level-3 {
  padding-bottom: 20px;
}