/* 左侧分类区域基础布局 */
.categories-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: white;
    border-right: 1px solid #eee;
    overflow-y: auto;
    padding: 20px 0;
}

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

/* 一级分类 */
.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;
}

.category-add {
    color: #8b4513;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.category-add:hover {
    background: rgba(139, 69, 19, 0.1);
}

/* 二级分类 */
.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;
}