/* 左侧分类区域基础布局 */
.categories {
    width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    overflow-y: auto;
}

.categories h1 {
    font-size: 20px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 10px 0;
}

.categories p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
}

/* 系统管理 */
.categories-management {
    margin-bottom: 20px;
}

.categories-management h2 {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
}

.categories-management ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-management li {
    margin-bottom: 8px;
}

.categories-management a {
    display: block;
    padding: 6px 12px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.categories-management a:hover {
    background: #f5f5f5;
    color: #1890ff;
}

/* 首页节点 */
.categories-home {
    margin-bottom: 20px;
    padding: 0;
}

.categories-home .category-header {
    background: #e6f7ff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.categories-home .category-header:hover {
    background: #bae7ff;
}

.categories-home .category-name {
    color: #1890ff;
    font-weight: 500;
    padding: 8px 12px;
    display: block;
}

/* 分类列表 */
.categories-list {
    padding: 0;
}

/* 一级分类 */
.category-item {
    margin-bottom: 10px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f9f5f2;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-header:hover {
    background: #f5ebe6;
}

.category-header.active {
    background: #efe5df;
}

.category-name {
    color: #8b4513;
    font-weight: 500;
}

/* 二级分类 */
.tag-list {
    margin-left: 20px;
    margin-top: 5px;
}

.tag-item {
    padding: 6px 12px;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #f5f5f5;
    color: #1890ff;
}

.tag-item.active {
    background: #e6f7ff;
    color: #1890ff;
}