/* static/css/left-nav.css - 导航高度和主页面一致 + 美化子列表符号 */
.left-nav {
    width: 200px;
    padding: 30px 20px;
    /* 和主内容的padding-top(30px)对齐 */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    height: 100%;
    /* 和主内容同步高度 */
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.left-nav::-webkit-scrollbar {
    display: none;
}

/* 导航折叠标题 */
.fold-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

a.fold-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #222;
    /* 统一文字默认颜色 */
    text-decoration: none;
    /* 去掉a标签默认下划线（若有） */
}

a.fold-title:focus {
    outline: none;
}

/* 折叠图标 */
.fold-icon {
    color: #0070b8;
    width: 25px;
    text-align: center;
}

/* 导航父项 */
.nav-parent {
    margin-bottom: 20px;
}

/* 导航子列表 - 核心：美化前面的符号 */
.nav-sub-list {
    margin-left: 15px !important;
    margin-bottom: 15px !important;
    padding-left: 10px;
    /* 给符号留空间 */
}

/* 子列表项：自定义美化符号 */
.nav-sub-list li {
    position: relative;
    padding-left: 16px !important;
    /* 给自定义符号留间距 */
    margin: 8px 0 !important;
    /* 加大行间距，更易读 */
    list-style: none !important;
    /* 去掉默认符号 */
}

/* 自定义美化符号（小圆点+渐变，和品牌色匹配） */
.nav-sub-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    /* 垂直居中 */
    width: 6px;
    /* 符号大小 */
    height: 6px;
    border-radius: 50%;
    /* 圆形 */
    /* 渐变背景，和页面主色一致 */
    background: linear-gradient(to right, #0070b8, #0091d8);
    box-shadow: 0 0 2px rgba(0, 112, 184, 0.3);
    /* 轻微阴影，更立体 */
}

/* 子列表hover：符号变大+变色，交互更友好 */
.nav-sub-list li:hover::before {
    width: 8px;
    height: 8px;
    background: linear-gradient(to right, #00558c, #0070b8);
    transition: all 0.2s;
}

/* 导航列表项基础样式 */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin: 6px 0 !important;
    padding-left: 8px !important;
    transition: all 0.2s !important;
}

.nav-list li:hover {
    padding-left: 12px !important;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
}

.nav-list li a:hover {
    color: #0070b8;
}

/* 子列表链接hover：文字变色+符号联动 */
.nav-sub-list li a:hover {
    color: #0070b8 !important;
    font-weight: 500;
}