.knowledge-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-desc {
    color: #909399;
    font-size: 13px;
    margin-bottom: 12px;
}
.kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;

    .kb-category-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 20px 16px;
        background: #f5f7fa;
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
            background: #ecf5ff;
            border-color: #b3d8ff;
        }

        &.active {
            background: #ecf5ff;
            border-color: #409eff;
        }

        .el-icon {
            font-size: 32px;
        }

        .cat-name {
            font-size: 14px;
            font-weight: 500;
            color: #303133;
            text-align: center;
        }

        .cat-count {
            font-size: 12px;
            color: #909399;
        }
    }
}

.kb-files-section {
    .section-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;

        h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 500;
            color: #303133;
        }
    }

    .file-name-cell {
        display: flex;
        align-items: center;
        gap: 8px;

        .file-icon {
            color: #409eff;
            font-size: 18px;
        }
    }
    .el-button {
            margin: 0 !important;
        }
}
