.sidebar {
    width: 220px;
    margin: 0 auto;
    padding: 18px 0 18px 0;
}

.sidebar-list {

    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #efecec;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;

    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); */
}

.sidebar-group {
    /* margin-bottom: 10px; */
}

/* 一级菜单样式统一优化 */
.sidebar-group-title {
    font-weight: bold;
    font-size: 18px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    height: 70px;
    user-select: none;
    color: #222;
    background: #fff;
    border-bottom: 1px solid #efecec;
    transition: background 0.2s;
}

.sidebar-group-title:hover {
    background: #f9f9f9;
}

.sidebar-arrow {
    font-size: 22px;
    color: #b0b0b0;
    margin-left: 8px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.sidebar-group.expanded>.sidebar-group-title .sidebar-arrow {
    /* transform: rotate(90deg); */
}

/* 移除旧.sidebar-item样式影响 */
.sidebar-item {
    display: none !important;
}

.sidebar-sublist {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    background: #fff;
    border-left: 1px solid #efecec;
}

.sidebar-subitem {
    font-size: 15px;
    color: #666;
    padding: 8px 0 8px 0;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    line-height: 1.8;
    border-bottom: 1px solid #efecec;
    transition: background 0.2s, color 0.2s;
}

.sidebar-subitem:last-child {
    border-bottom: none;
}

.sidebar-subitem.active a{
    color: #d32f2f;
    font-weight: bold;
    background: none;
}

.sidebar-subitem:hover {
    background: #f9f9f9;
}

.sidebar-item {
    font-size: 15px;
    color: #222;
    padding: 14px 20px 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #efecec;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    user-select: none;
    background: #fff;
}

.sidebar-item:hover {
    background: #f9f9f9;
}

.sidebar-item .sidebar-arrow {
    font-size: 20px;
    color: #b0b0b0;
}

.sidebar-list,
.sidebar-sublist {
    list-style: none;
}