/* 移动设备隐藏 (屏幕宽度小于等于767px) */
@media only screen and (max-width: 1024px) {
	.waphide {
		display: none !important;
	}
	.nav__item svg{
		width:25px;
		height:25px;
	}
	.hlhide {
		display: none !important;
	}
	body .bd ul {
	    grid-template-columns: repeat(1, 1fr);
	}
	body .el-divider__text {
		width: 66%;
	}
}
.ads{
	color: #7328ab;
}
/* 默认样式：PC端显示 */
.waphide {
	display: block;
	/* 或 inline-block/inline 根据实际布局 */
}

.shouxing {
	cursor: pointer;
	color: #3a8329;
}
.mod-route .gxrq{
	float: right;
}
#notification-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
}

.notification {
	background-color: #030303bf;
	color: #fff;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transform: translateX(100%);
	transition: opacity 0.5s, transform 0.5s;
}

.notification.show {
	opacity: 1;
	transform: translateX(0);
}
.el-form-item__error{display: none;}
@media (min-width: 768px) {
    .col-sm-3 {
        width: 25%;
    }
}
.xe-widget.xe-conversations {
    position: relative;
    background: #fff;
    margin-bottom: 0px;
    padding: 15px;
}
.img-circle {
    border-radius: 50%;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
}
img {
    vertical-align: middle;
}
b, strong {
    font-weight: 700;
}


/* ========= 新增左侧导航样式（完全独立，不破坏原有2FA样式） ========= */
.new-main-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
}
.sidebar-new {
    width: 220px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0.8rem;
    position: sticky;
    top: 1.5rem;
    height: calc(100vh - 3rem);
    overflow-y: auto;
    border: 1px solid #eef2f6;
}
.sidebar-new::-webkit-scrollbar {
    width: 4px;
}
.sidebar-new::-webkit-scrollbar-track {
    background: #f0f2f5;
    border-radius: 10px;
}
.sidebar-new::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.sidebar-header {
    padding: 0 1rem 1rem 1rem;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 1rem;
}
.sidebar-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(120deg, #1e3b5c, #2a5298);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    margin: 0;
}
.sidebar-header p {
    font-size: 0.7rem;
    color: #6c86a3;
    margin-top: 6px;
}
.nav-list-custom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list-custom li {
    margin: 0;
}
.nav-list-custom a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}
.nav-list-custom a i, 
.nav-list-custom a svg {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
    color: #5b6e8c;
    flex-shrink: 0;
}
.nav-list-custom a:hover {
    background: #eef2ff;
    color: #1e40af;
}
.nav-list-custom a:hover i,
.nav-list-custom a:hover svg {
    color: #2563eb;
}
.nav-list-custom .active-nav {
    background: #eef2ff;
    color: #1e3a8a;
    font-weight: 600;
    border-left: 3px solid #3b82f6;
}
.nav-list-custom .active-nav i,
.nav-list-custom .active-nav svg {
    color: #2563eb;
}
.main-content-new {
    flex: 1;
    min-width: 0;
}
/* 移动端汉堡按钮 - 置于顶部右侧 */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;          /* 关键修改：从左侧移到右侧 */
    z-index: 1001;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
    color: #2c3e66;
    transition: 0.2s;
}
.mobile-menu-btn:hover {
    background: #f0f2f5;
}
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1002;
    backdrop-filter: blur(2px);
}
@media (max-width: 768px) {
    .new-main-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .sidebar-new {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1003;
        height: 100vh;
        border-radius: 0 24px 24px 0;
        transition: left 0.25s ease;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        background: white;
        overflow-y: auto;
        padding-top: 1rem;
    }
    .sidebar-new.open {
        left: 0;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .main-content-new {
        margin-top: 0.5rem;
    }
}
.box-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
}
.footer-custom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #6c86a3;
}
hr {
    margin: 1.2rem 0;
}
