
/* 类目选择弹窗样式 */
.category-columns-container {
    background: #fff;
}

.category-column {
    min-width: 180px; /* 减小最小宽度，防止4级类目时出现滚动条 */
    width: 25%;
    flex: 0 0 25%; /* 固定宽度比例 */
    box-sizing: border-box; /* 包含边框和内边距 */
    border-right: 1px solid #eee;
    overflow-y: auto;
    height: 100%;
}

/* 搜索结果列表样式 */
.search-results-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 10px;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 13px;
    color: #333;
}

.search-result-item:hover {
    background-color: #f5f7fa;
}

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

.search-result-path {
    color: #666;
}

.search-highlight {
    color: #ff4d4f;
    font-weight: bold;
}

.category-column:last-child {
    border-right: none;
}

.category-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.category-item:hover {
    background-color: #f5f7fa;
}

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

.category-item.selected-leaf {
    background-color: #e6f7ff;
    color: #1890ff;
    font-weight: 500;
}

.category-arrow {
    font-size: 12px;
    color: #999;
}

.category-item.active .category-arrow {
    color: #1890ff;
}

/* 滚动条样式 */
.category-column::-webkit-scrollbar {
    width: 4px;
}

.category-column::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.category-column::-webkit-scrollbar-track {
    background: transparent;
}
